teraßyte Posted August 30, 2013 Share Posted August 30, 2013 This is just a quick topic to mention that I often notice MySQL STRICT mode errors being reported. All IPS devs should switch their local servers to use it and that would avoid all reports about it, plus it's also better for coding too as you'll be sure you are always passing the proper data to MySQL without relying on MySQL having to "fix" it itself. Link to comment Share on other sites More sharing options...
AndyF Posted August 30, 2013 Share Posted August 30, 2013 I usually run my localhost permanently in strict mode so I can catch these occurrences at QA... Link to comment Share on other sites More sharing options...
teraßyte Posted August 30, 2013 Author Share Posted August 30, 2013 I usually run my localhost permanently in strict mode so I can catch these occurrences at QA... To be picky, having the devs do it in the first place makes a beta version more stable too for QA. It's easier to catch those errors developing since you test much more extensively the new features while coding them :P Link to comment Share on other sites More sharing options...
bfarber Posted August 30, 2013 Share Posted August 30, 2013 We agree, and this is already done with our 4.0 development. if ( IN_DEV ) { self::$multitons[ $identifier ]->query( "SET sql_mode=STRICT_ALL_TABLES" ); } Link to comment Share on other sites More sharing options...
teraßyte Posted August 30, 2013 Author Share Posted August 30, 2013 Good :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.