diff options
author | joerg@trift2. <> | 2008-03-14 14:41:08 +0100 |
---|---|---|
committer | joerg@trift2. <> | 2008-03-14 14:41:08 +0100 |
commit | e784898959463e10f738b402f2294e3ab306effd (patch) | |
tree | 746b5fc46e851c97ebe023c635c68b475addab48 /storage/example | |
parent | 8c1ba819be234b466f857e1b6d087df33df11d37 (diff) | |
parent | eac3a26efab4f3886ba68ed24cc1ddfc453dfa0e (diff) | |
download | mariadb-git-e784898959463e10f738b402f2294e3ab306effd.tar.gz |
Merge trift2.:/MySQL/M51/mysql-5.1
into trift2.:/MySQL/M51/push-5.1
Diffstat (limited to 'storage/example')
-rw-r--r-- | storage/example/ha_example.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc index 6d9f4841e06..604722c3c8c 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -849,6 +849,7 @@ struct st_mysql_storage_engine example_storage_engine= { MYSQL_HANDLERTON_INTERFACE_VERSION }; static ulong srv_enum_var= 0; +static ulong srv_ulong_var= 0; const char *enum_var_names[]= { @@ -871,8 +872,21 @@ static MYSQL_SYSVAR_ENUM( 0, // def &enum_var_typelib); // typelib +static MYSQL_SYSVAR_ULONG( + ulong_var, + srv_ulong_var, + PLUGIN_VAR_RQCMDARG, + "0..1000", + NULL, + NULL, + 8, + 0, + 1000, + 0); + static struct st_mysql_sys_var* example_system_variables[]= { MYSQL_SYSVAR(enum_var), + MYSQL_SYSVAR(ulong_var), NULL }; |