Browse code

- add a few missing '\n' to log messages

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4149 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 09/05/2008 15:50:17
Showing 1 changed files
... ...
@@ -56,7 +56,7 @@ int db_mysql_get_columns(const db_con_t* _h, db_res_t* _r)
56 56
 	}
57 57
 	
58 58
 	if (db_allocate_columns(_r, RES_COL_N(_r)) != 0) {
59
-		LM_ERR("could not allocate columns");
59
+		LM_ERR("could not allocate columns\n");
60 60
 		return -3;
61 61
 	}
62 62
 
... ...
@@ -87,34 +87,34 @@ int db_mysql_get_columns(const db_con_t* _h, db_res_t* _r)
87 87
 			case MYSQL_TYPE_DECIMAL:
88 88
 			case MYSQL_TYPE_NEWDECIMAL:
89 89
 			case MYSQL_TYPE_TIMESTAMP:
90
-				LM_DBG("use DB_INT result type");
90
+				LM_DBG("use DB_INT result type\n");
91 91
 				RES_TYPES(_r)[col] = DB_INT;
92 92
 				break;
93 93
 
94 94
 			case MYSQL_TYPE_FLOAT:
95 95
 			case MYSQL_TYPE_DOUBLE:
96
-				LM_DBG("use DB_DOUBLE result type");
96
+				LM_DBG("use DB_DOUBLE result type\n");
97 97
 				RES_TYPES(_r)[col] = DB_DOUBLE;
98 98
 				break;
99 99
 
100 100
 			case MYSQL_TYPE_DATETIME:
101
-				LM_DBG("use DB_DATETIME result type");
101
+				LM_DBG("use DB_DATETIME result type\n");
102 102
 				RES_TYPES(_r)[col] = DB_DATETIME;
103 103
 				break;
104 104
 
105 105
 			case MYSQL_TYPE_BLOB:
106
-				LM_DBG("use DB_BLOB result type");
106
+				LM_DBG("use DB_BLOB result type\n");
107 107
 				RES_TYPES(_r)[col] = DB_BLOB;
108 108
 				break;
109 109
 
110 110
 			case FIELD_TYPE_SET:
111
-				LM_DBG("use DB_BITMAP result type");
111
+				LM_DBG("use DB_BITMAP result type\n");
112 112
 				RES_TYPES(_r)[col] = DB_BITMAP;
113 113
 				break;
114 114
 
115 115
 			case MYSQL_TYPE_STRING:
116 116
 			case MYSQL_TYPE_VAR_STRING:
117
-				LM_DBG("use DB_STRING result type");
117
+				LM_DBG("use DB_STRING result type\n");
118 118
 				RES_TYPES(_r)[col] = DB_STRING;
119 119
 				break;
120 120