--- sql-mysql.cc	Wed Jan 12 20:50:03 2000
+++ sql-mysql.cc	Wed Nov 10 17:40:19 2004
@@ -19,7 +19,7 @@
 
 // -------------------------------------------------------------
-char *
+const char *
 Sql_mysql::getErrorMsg() {
-	char *msg = mysql_error(&mysql);
+	const char *msg = mysql_error(&mysql);
 	if (*msg == '\0') {
 		return errormsg;
@@ -72,5 +72,5 @@
 // -------------------------------------------------------------
 int
-Sql_mysql::numRows(int resHandle=0) {
+Sql_mysql::numRows(int resHandle) {
 	if (!results[resHandle]) { return -1; }
 	return(mysql_num_rows(results[resHandle]));
@@ -110,5 +110,5 @@
 // -------------------------------------------------------------
 void
-Sql_mysql::endquery(int resHandle=0) {
+Sql_mysql::endquery(int resHandle) {
 	if (!results[resHandle]) return;
 	mysql_free_result(results[resHandle]);
@@ -121,5 +121,5 @@
 // party.
 Sql_row *
-Sql_mysql::fetchrow(int resHandle=0) {
+Sql_mysql::fetchrow(int resHandle) {
 
 	if (!results[resHandle]) {
