gnucash/libgnucash/backend/sql
Geert Janssens 06db9bcf2b Fix crash when loading sql book with posted transactions
This crash started to appear as of commit 80dbb9940b because the sequence
of split loading has changed as a result of the query optimizations.
Invoice transactions get loaded before the general transaction loading happens.
However because of this, when an invoice transaction was encountered again
during general transaction loading, it was (correctly) not created again
AND (incorrectly) not opened for subsequent editing. This caused
an assert to fail when the splits for this transaction are loaded
shortly afterwards. The solution is simply to ensure all transactions
are opened for editing during the general transaction loading call.
2018-04-17 23:04:21 +02:00
..
test Remove Autotools 2018-01-13 12:52:57 -06:00
.splintrc Restructure the src directory 2017-08-10 18:45:00 +02:00
CMakeLists.txt Remove Autotools 2018-01-13 12:52:57 -06:00
escape.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
escape.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-account-sql.cpp Remove LOAD_TRANSACTIONS_AS_NEEDED from SQL backend. 2018-04-14 10:18:01 -07:00
gnc-account-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-address-sql.cpp Adjust catch syntax to avoid GCC8 warnings. 2018-04-03 22:02:44 -04:00
gnc-bill-term-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-bill-term-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-book-sql.cpp Set GncSqlObjectBackend::m_version to the appropriate TABLE_VERSION. 2017-11-21 18:15:37 -08:00
gnc-book-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-budget-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-budget-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-commodity-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-commodity-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-customer-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-customer-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-employee-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-employee-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-entry-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-entry-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-invoice-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-invoice-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-job-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-job-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-lots-sql.cpp Set GncSqlObjectBackend::m_version to the appropriate TABLE_VERSION. 2017-11-21 18:15:37 -08:00
gnc-lots-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-order-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-order-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-owner-sql.cpp Adjust catch syntax to avoid GCC8 warnings. 2018-04-03 22:02:44 -04:00
gnc-price-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-price-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-recurrence-sql.cpp Set GncSqlObjectBackend::m_version to the appropriate TABLE_VERSION. 2017-11-21 18:15:37 -08:00
gnc-recurrence-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-schedxaction-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-schedxaction-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-slots-sql.cpp Bug 772776 - VERY large queries (over 11000 fields in IN clause) slow... 2018-04-14 10:18:01 -07:00
gnc-slots-sql.h Bug 772776 - VERY large queries (over 11000 fields in IN clause) slow... 2018-04-14 10:18:01 -07:00
gnc-sql-backend.cpp Bug 772776 - VERY large queries (over 11000 fields in IN clause) slow... 2018-04-14 10:18:01 -07:00
gnc-sql-backend.hpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-sql-column-table-entry.cpp Adjust catch syntax to avoid GCC8 warnings. 2018-04-03 22:02:44 -04:00
gnc-sql-column-table-entry.hpp Adjust catch syntax to avoid GCC8 warnings. 2018-04-03 22:02:44 -04:00
gnc-sql-connection.hpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-sql-object-backend.cpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-sql-object-backend.hpp Set GncSqlObjectBackend::m_version to the appropriate TABLE_VERSION. 2017-11-21 18:15:37 -08:00
gnc-sql-result.cpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-sql-result.hpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-tax-table-sql.cpp Set GncSqlObjectBackend::m_version to the appropriate TABLE_VERSION. 2017-11-21 18:15:37 -08:00
gnc-tax-table-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-transaction-sql.cpp Fix crash when loading sql book with posted transactions 2018-04-17 23:04:21 +02:00
gnc-transaction-sql.h Remove LOAD_TRANSACTIONS_AS_NEEDED from SQL backend. 2018-04-14 10:18:01 -07:00
gnc-vendor-sql.cpp Reduce use of gnc_sql_slots_load_for_instancevec. 2018-04-14 10:18:01 -07:00
gnc-vendor-sql.h Restructure the src directory 2017-08-10 18:45:00 +02:00