Content-Length: 206061 | pFad | http://github.com/Totenfluch/EventItemsSpawner/commit/54b961d6b176a120a3f1df9becc9b8e44f0ae6ab

AC added charset · Totenfluch/EventItemsSpawner@54b961d · GitHub
Skip to content

Commit

Permalink
added charset
Browse files Browse the repository at this point in the history
  • Loading branch information
Totenfluch committed Mar 25, 2018
1 parent 5825fcc commit 54b961d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EventItemsSpawner.sp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ public void OnConfigsExecuted() {
if (!StrEqual(g_cUseMySQL, "")) {
char error[256];
g_DB = SQL_Connect(g_cUseMySQL, true, error, sizeof(error));
SQL_SetCharset(g_DB, "utf32");
char createTableQuery[2048];
Format(createTableQuery, sizeof(createTableQuery), "CREATE TABLE IF NOT EXISTS eventItems_stats ( `Id` BIGINT NULL DEFAULT NULL AUTO_INCREMENT , `playername` VARCHAR(64) CHARACTER SET utf32 COLLATE utf32_bin NOT NULL , `playerid` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL , `amount` INT NOT NULL , PRIMARY KEY (`Id`), UNIQUE KEY `playerid` (`playerid`)) ENGINE = InnoDB CHARSET=utf32 COLLATE utf32_bin;");
SQL_TQuery(g_DB, SQLErrorCheckCallback, createTableQuery);
Expand Down

0 comments on commit 54b961d

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Totenfluch/EventItemsSpawner/commit/54b961d6b176a120a3f1df9becc9b8e44f0ae6ab

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy