1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
prepared statements in embedded library
This commit is contained in:
hf@deer.(none)
2003-09-18 12:25:00 +05:00
parent ccc28f46de
commit 7dd4cb58d6
6 changed files with 15 additions and 9 deletions

View File

@ -28,6 +28,9 @@
#ifndef EMBEDDED_LIBRARY
bool Protocol::net_store_data(const char *from, uint length)
#else
bool Protocol_prep::net_store_data(const char *from, uint length)
#endif
{
ulong packet_length=packet->length();
/*
@ -43,7 +46,6 @@ bool Protocol::net_store_data(const char *from, uint length)
packet->length((uint) (to+length-packet->ptr()));
return 0;
}
#endif
/* Send a error string to client */