bug in kdevelop 3.3.0 in catalog.cpp

"Василий" DibalaVS at yandex.ru
Thu Jan 26 09:05:10 UTC 2006


Hello. I find and fixed bug in file catalog.cpp. Code complition not worked:
	}

        if ((ret = 
#if DB_VERSION_MINOR >= 1
	     dbp->open(dbp, NULL, QFile::encodeName( indexName ).data(), 0, DB_BTREE, DB_CREATE, 0664)
#else
	     dbp->open(dbp, QFile::encodeName( indexName ).data(), 0, DB_BTREE, DB_CREATE, 0664)
#endif
		== 0))
	{

	    kdDebug() << "db_open: " << db_strerror(ret) << endl;
	    dbp->close( dbp, 0 );
	    return;
        }

invalid compare. must be !=0. When open fail it return not 0.





More information about the KDevelop-devel mailing list