wxEDB Bug (reported by CK)
C. K. Lester wrote:
> I can reproduce this consistently:
>
> using an ODBC EDB database,
>
> 1. start modifying a record but don't save it
> 2. go to fields and add a new field
>
> it will crash after saying that there is an unsaved record.
>
> heeelllllp! :)
The problem seems to be at the end of save_edits(). I'm incorrectly
assigning the result of a call to get_record() to eusql_datatype.
I should be taking the first element of that, because, EuSQL adds an
extra level for error reporting purposes.
eusql_datatype = get_record( the_db, "TABLEDEF", viewed_table,
"INFO.DATATYPES", {})
eusql_datatype = eusql_datatype[1]
Matt Lewis
|
Not Categorized, Please Help
|
|