1
0
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:
monty@mashka.mysql.fi
2003-01-21 21:07:59 +02:00
parent 6522ee6c98
commit 25c393a12e
69 changed files with 945 additions and 871 deletions

View File

@@ -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;
}