From f96e42380a9bc755141480d3809a9c7eeecb4539 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 18 Sep 2011 23:43:22 +0000 Subject: Fix a number of strings in Trinity that were incorrectly converted to TQ* from Q* This fixes the Kopete MSN protocol among other things git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp | 4 ++-- kexi/kexidb/parser/sqlparser.cpp | 4 ++-- kexi/kexidb/queryschema.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kexi/kexidb') diff --git a/kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp b/kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp index 89dd8d77..89aad061 100644 --- a/kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp +++ b/kexi/kexidb/drivers/mySQL/mysqlkeywords.cpp @@ -229,8 +229,8 @@ namespace KexiDB { "PROCESS", "PROCESSLIST", "PURGE", - "TQUERY", - "TQUICK", + "QUERY", + "QUICK", "RAID0", "RAID_CHUNKS", "RAID_CHUNKSIZE", diff --git a/kexi/kexidb/parser/sqlparser.cpp b/kexi/kexidb/parser/sqlparser.cpp index 57e386ee..091d516b 100644 --- a/kexi/kexidb/parser/sqlparser.cpp +++ b/kexi/kexidb/parser/sqlparser.cpp @@ -1310,7 +1310,7 @@ static const char *const yytname[] = "OPEN", "OPTION", "OR", "ORDER", "OUTER", "OUTPUT", "OVERLAPS", "PAGE", "PARTIAL", "SQL_PASCAL", "PERSISTENT", "CTQL_PI", "PLI", "POSITION", "PRECISION", "PREPARE", "PRESERVE", "PRIMARY", "PRIOR", "PRIVILEGES", - "PROCEDURE", "PRODUCT", "PUBLIC", "TQUARTER", "TQUIT", "RAND", "READ_ONLY", + "PROCEDURE", "PRODUCT", "PUBLIC", "QUARTER", "QUIT", "RAND", "READ_ONLY", "REAL", "REFERENCES", "REPEAT", "REPLACE", "RESTRICT", "REVOKE", "RIGHT", "ROLLBACK", "ROWS", "RPAD", "RTRIM", "SCHEMA", "SCREEN_WIDTH", "SCROLL", "SECOND", "SECONDS_BETWEEN", "SELECT", "SEQUENCE", "SETOPT", "SET", @@ -1324,7 +1324,7 @@ static const char *const yytname[] = "TO_DATE", "TRANSACTION", "TRANSLATE", "TRANSLATION", "TRUNCATE", "GENERAL_TITLE", "TWO_DIGITS", "UCASE", "UNION", "UNITQUE", "SQL_UNKNOWN", "UPDATE", "UPPER", "USAGE", "USER", "IDENTIFIER", - "IDENTIFIER_DOT_ASTERISK", "TQUERY_PARAMETER", "USING", "VALUE", "VALUES", + "IDENTIFIER_DOT_ASTERISK", "QUERY_PARAMETER", "USING", "VALUE", "VALUES", "VARBINARY", "VARCHAR", "VARYING", "VENDOR", "VIEW", "WEEK", "WHEN", "WHENEVER", "WHERE", "WHERE_CURRENT_OF", "WITH", "WORD_WRAPPED", "WORK", "WRAPPED", "XOR", "YEAR", "YEARS_BETWEEN", "SCAN_ERROR", "__LAST_TOKEN", diff --git a/kexi/kexidb/queryschema.cpp b/kexi/kexidb/queryschema.cpp index a82ca99a..b77f76a3 100644 --- a/kexi/kexidb/queryschema.cpp +++ b/kexi/kexidb/queryschema.cpp @@ -779,7 +779,7 @@ TQString QuerySchema::debugString() dbg.reserve(1024); //fields TableSchema *mt = masterTable(); - dbg = TQString("TQUERY ") + schemaDataDebugString() + "\n" + dbg = TQString("QUERY ") + schemaDataDebugString() + "\n" + "-masterTable=" + (mt ? mt->name() :"") + "\n-COLUMNS:\n" + ((fieldCount()>0) ? FieldList::debugString() : "") + "\n" -- cgit v1.2.1