Permalink
Browse files

add query to disable strict mode in mysql db plugin.

  • Loading branch information...
Peter Adams
Peter Adams committed Oct 26, 2017
1 parent 48a27e6 commit f53c04e5dd9f3f9aa667096d7ca3da23a947782b
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/db/owa_db_mysql.php
@@ -121,6 +121,9 @@ function connect() {
$this->query("SET NAMES 'utf8'");
}
// turn off strict mode. needed on mysql 5.7 and lter when it is turned on by default.
$this->query( "SET SESSION sql_mode=''" );
}
if ( ! $this->connection ) {

0 comments on commit f53c04e

Please sign in to comment.