22 #include <drizzled/session/transactions.h>
23 #include <plugin/session_dictionary/dictionary.h>
27 #define LARGEST_USER_SAVEPOINT_NAME 128
29 Savepoints::Savepoints() :
30 drizzled::
plugin::TableFunction(
"DATA_DICTIONARY",
"USER_DEFINED_SAVEPOINTS")
32 add_field(
"SAVEPOINT_NAME", drizzled::plugin::TableFunction::STRING, LARGEST_USER_SAVEPOINT_NAME,
false);
37 savepoints(getSession().transaction.savepoints),
38 iter(savepoints.begin())
42 Savepoints::Generator::~Generator()
46 bool Savepoints::Generator::populate()
48 while (iter != savepoints.end())
51 push(iter->getName());
TODO: Rename this file - func.h is stupid.