summaryrefslogtreecommitdiff
path: root/libmysql/errmsg.c
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-03-17 20:04:50 +0300
committerkonstantin@mysql.com <>2004-03-17 20:04:50 +0300
commitb9f51f7081a939132201689b98f180ab90245e0f (patch)
treeb125698d0619b2d35f6b0b36ad5b7aa33826012b /libmysql/errmsg.c
parentb28a13c028846a58fac3e452cba75505015bb3cc (diff)
downloadmariadb-git-b9f51f7081a939132201689b98f180ab90245e0f.tar.gz
WL #1510 "Implement support for "commercial" binaries on handshake",
client library: - implemented 'check_license' function
Diffstat (limited to 'libmysql/errmsg.c')
-rw-r--r--libmysql/errmsg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libmysql/errmsg.c b/libmysql/errmsg.c
index 7accbf8f1d2..06d21cf36c3 100644
--- a/libmysql/errmsg.c
+++ b/libmysql/errmsg.c
@@ -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