Changeset f48bf9f


Ignore:
Timestamp:
06/26/11 20:26:09 (10 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
ed063f1
Parents:
326c15b
Message:

The '%' character doesn't have to be escaped anymore.

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gui/searchtabcontainer.cpp

    r326c15b rf48bf9f  
    8484        columns["ROOM"] = "name";
    8585
    86     QString keyword = searchHeader->searchEdit->text().replace( QString("%"), QString("\\%") );
    87     //qDebug() << "\nKeyword to search: " << keyword;
     86    QString keyword = searchHeader->searchEdit->text();
    8887
    8988    int confId = Conference::activeConference();
  • src/sql/sqlengine.cpp

    r326c15b rf48bf9f  
    310310    execQuery( db, "DROP TABLE IF EXISTS SEARCH_EVENT");
    311311    // CREATE
    312     execQuery( db, "CREATE TEMP TABLE SEARCH_EVENT ( xid_conference INTEGER  NOT NULL, id INTEGER NOT NULL )");
     312    execQuery( db, "CREATE TABLE SEARCH_EVENT ( xid_conference INTEGER  NOT NULL, id INTEGER NOT NULL )");
    313313    // INSERT
    314314    QString sql = QString("INSERT INTO SEARCH_EVENT ( xid_conference, id ) "
Note: See TracChangeset for help on using the changeset viewer.