* API: take care of INNODB and STRICT_TRANS_TABLES for recent mysql installations

This commit is contained in:
Klaus Leithoff 2011-08-22 10:16:07 +00:00
parent 711b1c4886
commit 050a1307cb

View File

@ -247,7 +247,7 @@ class egw_db
self::CAPABILITY_NAME_CASE => 'upper',
self::CAPABILITY_CLIENT_ENCODING => false,
self::CAPABILITY_CASE_INSENSITIV_LIKE => 'LIKE',
self::CAPABILITY_REQUIRE_TRUNCATE_VARCHAR => false,
self::CAPABILITY_REQUIRE_TRUNCATE_VARCHAR => true,
self::CAPABILITY_CAST_AS_VARCHAR => 'CAST(%s AS varchar)',
);