1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

WL #1510 "Implement support for "commercial" binaries on handshake",

client library:
- implemented 'check_license' function
This commit is contained in:
konstantin@mysql.com
2004-03-17 20:04:50 +03:00
parent b28a13c028
commit b9f51f7081
5 changed files with 67 additions and 6 deletions

View File

@@ -51,7 +51,8 @@ const char *client_errors[]=
"Error connecting to slave:",
"Error connecting to master:",
"SSL connection error",
"Malformed packet"
"Malformed packet",
"This client library is licensed only for use with MySQL servers having '%s' license"
};
/* Start of code added by Roberto M. Serqueira - martinsc@uol.com.br - 05.24.2001 */
@@ -86,7 +87,8 @@ const char *client_errors[]=
"Error connecting to slave:",
"Error connecting to master:",
"SSL connection error",
"Malformed packet"
"Malformed packet",
"This client library is licensed only for use with MySQL servers having '%s' license"
};
#else /* ENGLISH */
@@ -119,7 +121,8 @@ const char *client_errors[]=
"Error connecting to slave:",
"Error connecting to master:",
"SSL connection error",
"Malformed packet"
"Malformed packet",
"This client library is licensed only for use with MySQL servers having '%s' license"
};
#endif