mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Net->client structures macro added
This commit is contained in:
parent
ede6ba5621
commit
9ba0b3bc21
1 changed files with 9 additions and 0 deletions
|
@ -781,4 +781,13 @@ inline void mark_as_null_row(TABLE *table)
|
|||
bfill(table->null_flags,table->null_bytes,255);
|
||||
}
|
||||
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
int embedded_send_row(THD *thd, int n_fields, char *data, int data_len);
|
||||
#define SEND_ROW(thd, net, n_fields, data, data_len)\
|
||||
embedded_send_row(thd, n_fields, data, data_len)
|
||||
#else
|
||||
#define SEND_ROW(thd, net, n_fields, data, data_len)\
|
||||
my_net_write(net, data, data_len)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue