mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #641832: Workaround to avoid the current crashes on windows.
On win32 the queryf() calls below seem to crash. On the other hand, we know the used libdbi on windows is fine, so as a first workaround, we assume libdbi is safe. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20287 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
7700b974ab
commit
b4635710d6
@ -2878,6 +2878,13 @@ conn_test_dbi_library( dbi_conn conn )
|
||||
gchar doublestr[G_ASCII_DTOSTR_BUF_SIZE];
|
||||
gboolean retval = TRUE;
|
||||
|
||||
#if G_OS_WIN32
|
||||
/* Bug #641832: On win32 the queryf() calls below seem to
|
||||
* crash. On the other hand, we know the used libdbi on windows is
|
||||
* fine, so as a first workaround, we assume libdbi is safe. */
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
result = dbi_conn_query( conn, "CREATE TEMPORARY TABLE numtest "
|
||||
"( test_int BIGINT, test_unsigned BIGINT,"
|
||||
" test_double FLOAT8 )" );
|
||||
|
Loading…
Reference in New Issue
Block a user