2014-08-14 Fred Gleason <fredg@paravelsystems.com>

* Added '-lm' and '-lpthread' to @LIB_RDLIBS@ in 'configure.in'
	to fix broken compilation on RHEL 7.
	* Fixed a regression in 'lib/rdcreate_log.cpp' that broke creation
	of new logs.
This commit is contained in:
Fred Gleason
2014-08-14 11:27:49 -04:00
parent afd67c7af8
commit 18913bb083
3 changed files with 7 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ void RDCreateLogTable(const QString &name)
QString RDCreateLogTableSql(QString name)
{
return QString("create table if not exits `")+RDLog::tableName(name)+"`"+
return QString("create table if not exists `")+RDLog::tableName(name)+"`"+
"(ID INT NOT NULL PRIMARY KEY,"+
"COUNT INT NOT NULL,"+
"TYPE INT DEFAULT 0,"+