Simplify the command factory

Since more than an year it not possible to create commands in the heap
but they are allocated on the stack and directly run. In this regard, it
doesn't make sense to have all the vararg stuff. Commands made sense
to be created and pushed onto a stack then a general executor will
run thru the stack and execute/handle the commands.
This commit is contained in:
Andrey Hristov 2019-01-07 18:45:33 +02:00
parent ba5cb2eb32
commit 8975e4dcd7
11 changed files with 214 additions and 850 deletions

View file

@ -20,7 +20,7 @@
#ifndef MYSQLND_COMMANDS_H
#define MYSQLND_COMMANDS_H
extern func_mysqlnd__run_command mysqlnd_run_command;
//extern func_mysqlnd__run_command mysqlnd_run_command;
#endif /* MYSQLND_COMMANDS_H */