Removed TABs that had gotten in to the source
Added more INTERBASE support fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9082f1a970
commit
081eb1b120
@ -3004,6 +3004,7 @@ bool wxDb::Catalog(const wxChar *userID, const wxString &fileName)
|
||||
if (!UserID.IsEmpty() &&
|
||||
Dbms() != dbmsMY_SQL &&
|
||||
Dbms() != dbmsACCESS &&
|
||||
Dbms() != dbmsINTERBASE &&
|
||||
Dbms() != dbmsMS_SQL_SERVER)
|
||||
{
|
||||
retcode = SQLColumns(hstmt,
|
||||
@ -3132,6 +3133,7 @@ bool wxDb::TableExists(const wxString &tableName, const wxChar *userID, const wx
|
||||
Dbms() != dbmsACCESS &&
|
||||
Dbms() != dbmsMS_SQL_SERVER &&
|
||||
Dbms() != dbmsDB2 &&
|
||||
Dbms() != dbmsINTERBASE &&
|
||||
Dbms() != dbmsPERVASIVE_SQL)
|
||||
{
|
||||
retcode = SQLTables(hstmt,
|
||||
@ -3393,6 +3395,10 @@ wxDBMS wxDb::Dbms(void)
|
||||
*
|
||||
* PERVASIVE SQL
|
||||
*
|
||||
* INTERBASE
|
||||
* - Columns that are part of primary keys must be defined as being NOT NULL
|
||||
* when they are created. Some code is added in ::CreateIndex to try to adjust the
|
||||
* column definition if it is not defined correctly, but it is experimental
|
||||
*/
|
||||
{
|
||||
// Should only need to do this once for each new database connection
|
||||
|
Loading…
Reference in New Issue
Block a user