X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdb%2Fconnect_db.inc;h=147f4a5f7972ae3d7d48ae2247f54955f6a89fa9;hb=7e8df3a179c05c51085349e139aac9ce88b9378d;hp=98a18f59824085e7ca0f20366132549271904720;hpb=a962f4eb389a3105b2822283d7d78c10522ab026;p=fa-stable.git diff --git a/includes/db/connect_db.inc b/includes/db/connect_db.inc index 98a18f59..147f4a5f 100644 --- a/includes/db/connect_db.inc +++ b/includes/db/connect_db.inc @@ -10,7 +10,7 @@ See the License here . ***********************************************************************/ //$path_to_root=".."; - +define('MAX_DEADLOCK_RETRY', 3); if (function_exists('mysqli_connect')) include_once("connect_db_mysqli.inc"); @@ -90,7 +90,7 @@ function get_mysql_collation($lang=null) 'it' => 'roman', ); - return 'utf8_'.(isset($db_collation[$lang]) ? $db_collation[$lang] : 'general').'_ci'; + return 'utf8_'.(isset($db_collation[$lang]) ? $db_collation[$lang] : 'unicode').'_ci'; } /*