diff options
author | François Andriot <albator78@libertysurf.fr> | 2015-04-19 15:24:00 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2015-04-19 15:24:00 +0200 |
commit | 47b9cb5f610258da5818461ffcb4b97cfacd649b (patch) | |
tree | 6593f97816e32d408bb117ef2dd17d061fd4039e /redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch | |
parent | 17e804faf6d943909d4285bf7e1fe743151b63b2 (diff) | |
download | tde-packaging-47b9cb5f610258da5818461ffcb4b97cfacd649b.tar.gz tde-packaging-47b9cb5f610258da5818461ffcb4b97cfacd649b.zip |
RPM packaging: update knutclient, koffice, koffice-i18n, konversation, kopete-otr
Diffstat (limited to 'redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch')
-rw-r--r-- | redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch b/redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch deleted file mode 100644 index 0be9764e3..000000000 --- a/redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- kexi/kexidb/drivers/sqlite/sqlitecursor.cpp 2006/10/26 19:25:03 599352 -+++ kexi/kexidb/drivers/sqlite/sqlitecursor.cpp 2007/10/01 19:29:39 719720 -@@ -324,19 +324,21 @@ - } - - //debug --/* -- if (m_result == FetchOK && d->curr_coldata) { -+/* if (((int)m_result == (int)FetchOK) && d->curr_coldata) { - for (uint i=0;i<m_fieldCount;i++) { - KexiDBDrvDbg<<"col."<< i<<": "<< d->curr_colname[i]<<" "<< d->curr_colname[m_fieldCount+i] - << " = " << (d->curr_coldata[i] ? TQString::fromLocal8Bit(d->curr_coldata[i]) : "(NULL)") <<endl; - } --// KexiDBDrvDbg << "SQLiteCursor::drv_getNextRecord(): "<<m_fieldCount<<" col(s) fetched"<<endl; -+ KexiDBDrvDbg << "SQLiteCursor::drv_getNextRecord(): "<<m_fieldCount<<" col(s) fetched"<<endl; - }*/ - } - - void SQLiteCursor::drv_appendCurrentRecordToBuffer() - { - // KexiDBDrvDbg << "SQLiteCursor::drv_appendCurrentRecordToBuffer():" <<endl; -+ if (!d->curr_coldata) -+ return; -+ - if (!d->cols_pointers_mem_size) - d->cols_pointers_mem_size = m_fieldCount * sizeof(char*); - const char **record = (const char**)malloc(d->cols_pointers_mem_size); |