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

This commit is contained in:
Klaus Leithoff 2011-08-22 10:18:40 +00:00
parent 394ad22822
commit 534a30cdc1

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)',
);