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