changeset 15 | 5a0ca1f9a2f1 |
parent 14 | 862d63715611 |
child 17 | b3731a25b9ec |
--- a/db_bridge/mysql_db.cpp +++ b/db_bridge/mysql_db.cpp @@ -37,7 +37,7 @@ Abstract_DB::DB_ROW vec; Abstract_DB::DB_RESULT rows; MYSQL_ROW row; - int i; + int i = 0; /* * send SQL query @@ -61,6 +61,8 @@ vec.clear (); } + std::cerr << "Die Abfrage hat " << i << " Spalte(n) und " << rows.size () << " Reihe(n)." << std::endl; + if (res != NULL) { mysql_free_result (res); }