I pushed my current code back onto launchpad.
I used the format requested although I had a few issues but worked
them out. So far the main types anticipated for types are INT, LONG,
LONGLONG, CHAR, MY_BOOL, HA_ROWS, & CHAR_PTR (this is for strings as
best I can tell searching for code examples). Are there any others
that you may know of that a system variable may be? I looked at the
other SHOW types but none seem to be used or really anticipated in
much of the parser such as Item_bool is not even used. Item_int and
Item_string are the most common items created. I am not sure on
Item_decimal or Item_float as decimal numbers do not seem like they
would be used in a session variable.
On running the tests I had one issue I corrected. Binlog has a
setting of statement of which conflicted with the creation of
statement as a symbol. I changed the command to STATEMENT_SET I do
not know if this is ok or if you would prefer it to be called
There is one other error I do not know why it is there. I do not
believe it is my code though since the error it generates. The test
is backup_myisam.test as it seems the tests inside run fine but the
part where it drops the test table causes an error.
DROP DATABASE mysqltest;
When it moves to drop the table at the end the warning declares it as
still in use. The statement though says USE test and should have
switched the database and allowed the removal of mysqltest. That is
what the log file stated whether I read it right I do not know and
could be an issue with my code.
After removing this one test file all others executed successfully.
I have an issue to check if it has been corrected by a code
correction, otherwise I plan on having a working rough test file this