mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Portability fixes (for windows)
Some changes to the prepared statement protocol to make it easier to use and faster.
This commit is contained in:
@@ -100,7 +100,7 @@ bool String::set(longlong num, CHARSET_INFO *cs)
|
||||
|
||||
if (alloc(l))
|
||||
return TRUE;
|
||||
str_length=(uint32) cs->longlong10_to_str(cs,Ptr,l,-10,num);
|
||||
str_length=(uint32) (cs->longlong10_to_str)(cs,Ptr,l,-10,num);
|
||||
str_charset=cs;
|
||||
return FALSE;
|
||||
}
|
||||
@@ -111,7 +111,7 @@ bool String::set(ulonglong num, CHARSET_INFO *cs)
|
||||
|
||||
if (alloc(l))
|
||||
return TRUE;
|
||||
str_length=(uint32) cs->longlong10_to_str(cs,Ptr,l,10,num);
|
||||
str_length=(uint32) (cs->longlong10_to_str)(cs,Ptr,l,10,num);
|
||||
str_charset=cs;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user