[Kde-cygwin-cvs] CVS: qt-3/src/sql/drivers/mysql qsql_mysql.cpp,1.1.1.9,1.2
Status: Inactive
Brought to you by:
habacker
From: Christian E. <che...@us...> - 2005-09-23 09:41:19
|
Update of /cvsroot/kde-cygwin/qt-3/src/sql/drivers/mysql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26950/src/sql/drivers/mysql Modified Files: qsql_mysql.cpp Log Message: st qt3.3.5 patch - I made the smae mistake like 3.3.4 but don't know what is going wrong there. Seems like our cvs is messed up :( ttt: ---------------------------------------------------------------------- Index: qsql_mysql.cpp =================================================================== RCS file: /cvsroot/kde-cygwin/qt-3/src/sql/drivers/mysql/qsql_mysql.cpp,v retrieving revision 1.1.1.9 retrieving revision 1.2 diff -u -r1.1.1.9 -r1.2 --- qsql_mysql.cpp 22 Sep 2005 12:53:49 -0000 1.1.1.9 +++ qsql_mysql.cpp 23 Sep 2005 09:40:30 -0000 1.2 @@ -4,7 +4,7 @@ ** ** Created : 001103 ** -** Copyright (C) 1992-2005 Trolltech AS. All rights reserved. +** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. ** ** This file is part of the sql module of the Qt GUI Toolkit. ** @@ -500,7 +500,7 @@ NULL, optionFlags ) ) { - if ( !db.isEmpty() && mysql_select_db( d->mysql, db )) { + if ( mysql_select_db( d->mysql, db )) { setLastError( qMakeError("Unable open database '" + db + "'", QSqlError::Connection, d ) ); mysql_close( d->mysql ); setOpenError( TRUE ); |