mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Merge pull request #234 from Mibew/mysql_fix
Add support for MySQL 8 (fixes #232)
This commit is contained in:
commit
e9b29737c9
@ -104,7 +104,7 @@ requestcallback:
|
|||||||
fields:
|
fields:
|
||||||
callbackid: "int NOT NULL auto_increment PRIMARY KEY"
|
callbackid: "int NOT NULL auto_increment PRIMARY KEY"
|
||||||
token: "varchar(64) NOT NULL DEFAULT ''"
|
token: "varchar(64) NOT NULL DEFAULT ''"
|
||||||
function: "varchar(64) NOT NULL"
|
func: "varchar(64) NOT NULL"
|
||||||
arguments: "varchar(1024)"
|
arguments: "varchar(1024)"
|
||||||
indexes:
|
indexes:
|
||||||
token: [token]
|
token: [token]
|
||||||
|
@ -485,7 +485,7 @@ abstract class AbstractProcessor
|
|||||||
$db = Database::getInstance();
|
$db = Database::getInstance();
|
||||||
|
|
||||||
$query = "INSERT INTO {requestcallback} ( "
|
$query = "INSERT INTO {requestcallback} ( "
|
||||||
. "token, function, arguments "
|
. "token, func, arguments "
|
||||||
. ") VALUES ( "
|
. ") VALUES ( "
|
||||||
. ":token, :function, :arguments"
|
. ":token, :function, :arguments"
|
||||||
. ")";
|
. ")";
|
||||||
@ -526,7 +526,7 @@ abstract class AbstractProcessor
|
|||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'function' => $callback['function'],
|
'function' => $callback['func'],
|
||||||
'arguments' => unserialize($callback['arguments']),
|
'arguments' => unserialize($callback['arguments']),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user