diff options
author | kaa@kaamos.(none) <> | 2008-03-12 11:19:46 +0300 |
---|---|---|
committer | kaa@kaamos.(none) <> | 2008-03-12 11:19:46 +0300 |
commit | 0a7052e4d3633b818ab4050adcad646b888c5430 (patch) | |
tree | f84e4ada799bf37a3d9ef074064f8a17f408aa89 /storage/example | |
parent | d4025ce1a60322635bf5f7adb765f4612563ee3a (diff) | |
parent | 7e365efa30f5d42aaf87ce9044176e266ee337eb (diff) | |
download | mariadb-git-0a7052e4d3633b818ab4050adcad646b888c5430.tar.gz |
Merge kaamos.(none):/data/src/mysql-5.1
into kaamos.(none):/data/src/opt/mysql-5.1-opt
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 }; |