Changeset - 621d85a64fff
[Not reviewed]
0 1 0
Vitaly Takmazov - 9 years ago 2016-05-27 22:48:51
vitalyster@gmail.com
MySQL: do not forget to use table prefix
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
libtransport/MySQLBackend.cpp
Show inline comments
 
@@ -406,7 +406,7 @@ bool MySQLBackend::createDatabase() {
 
				"UNIQUE KEY `ver` (`ver`)"
 
			") ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;");
 

	
 
		exec("INSERT IGNORE INTO db_version (ver) VALUES ('2');");
 
		exec("INSERT IGNORE INTO `" + m_prefix + "db_version` (ver) VALUES ('2');");
 
	}
 

	
 
	return true;
0 comments (0 inline, 0 general)