560
563
return netStoreData((unsigned char*) buff,
561
(size_t) (int10_to_str(from, buff, -10) - buff));
564
(size_t) (internal::int10_to_str(from, buff, -10) - buff));
564
567
bool ClientMySQLProtocol::store(uint32_t from)
567
570
return netStoreData((unsigned char*) buff,
568
(size_t) (int10_to_str(from, buff, 10) - buff));
571
(size_t) (internal::int10_to_str(from, buff, 10) - buff));
571
574
bool ClientMySQLProtocol::store(int64_t from)
574
577
return netStoreData((unsigned char*) buff,
575
(size_t) (int64_t10_to_str(from, buff, -10) - buff));
578
(size_t) (internal::int64_t10_to_str(from, buff, -10) - buff));
578
581
bool ClientMySQLProtocol::store(uint64_t from)
581
584
return netStoreData((unsigned char*) buff,
582
(size_t) (int64_t10_to_str(from, buff, 10) - buff));
585
(size_t) (internal::int64_t10_to_str(from, buff, 10) - buff));
585
588
bool ClientMySQLProtocol::store(double from, uint32_t decimals, String *buffer)
826
829
static DRIZZLE_SYSVAR_STR(bind_address, bind_address, PLUGIN_VAR_READONLY,
827
830
N_("Address to bind to."), NULL, NULL, NULL);
829
static drizzle_sys_var* system_variables[]= {
832
static drizzle_sys_var* sys_variables[]= {
830
833
DRIZZLE_SYSVAR(port),
831
834
DRIZZLE_SYSVAR(connect_timeout),
832
835
DRIZZLE_SYSVAR(read_timeout),
848
851
init, /* Plugin Init */
849
852
deinit, /* Plugin Deinit */
850
853
NULL, /* status variables */
851
system_variables, /* system variables */
854
sys_variables, /* system variables */
852
855
NULL /* config options */
854
857
DRIZZLE_DECLARE_PLUGIN_END;