Browse code

- make debug message scheme independent

Jan Janak authored on 13/10/2005 09:23:07
Showing 1 changed files
... ...
@@ -65,7 +65,8 @@ struct my_con* new_connection(struct db_id* id)
65 65
 	mysql_init(ptr->con);
66 66
 
67 67
 	if (id->port) {
68
-		DBG("new_connection: Opening MySQL connection: mysql://%s:%s@%s:%d/%s\n",
68
+		DBG("new_connection: Opening MySQL connection: %s://%s:%s@%s:%d/%s\n",
69
+		    ZSW(id->scheme),
69 70
 		    ZSW(id->username),
70 71
 		    ZSW(id->password),
71 72
 		    ZSW(id->host),
... ...
@@ -73,7 +74,8 @@ struct my_con* new_connection(struct db_id* id)
73 74
 		    ZSW(id->database)
74 75
 		    );
75 76
 	} else {
76
-		DBG("new_connection: Opening MySQL connection: mysql://%s:%s@%s/%s\n",
77
+		DBG("new_connection: Opening MySQL connection: %s://%s:%s@%s/%s\n",
78
+		    ZSW(id->scheme),
77 79
 		    ZSW(id->username),
78 80
 		    ZSW(id->password),
79 81
 		    ZSW(id->host),