minor Configure / makefiles updates
Removed mor (egcs) warnings Updated version to 2.0.1 in version.h Several corrections for strict compilers OpenGL updates new wxApp::InitVisual() for overriding in order to set non-default visual (unportable, of course) Added makefiles for DialogEd and Tex2Rtf made wxGTK compile with Tex2Rtf Added BEGIN_DRAG event to tree ctrl Added missing #include to lexel.l (unistd.h) (MSW?) new wxGTK.spec turned one or two more #ifdef into #if git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,73 +14,73 @@ static struct {
|
||||
char* symbol;
|
||||
} odbcapi_symtab[] = {
|
||||
#if (ODBCVER >= 0x0300)
|
||||
en_AllocHandle CLI_NAME_PREFIX "AllocHandle",
|
||||
en_FreeHandle CLI_NAME_PREFIX "FreeHandle",
|
||||
{ en_AllocHandle CLI_NAME_PREFIX "AllocHandle" },
|
||||
{ en_FreeHandle CLI_NAME_PREFIX "FreeHandle" },
|
||||
#endif
|
||||
en_AllocEnv, CLI_NAME_PREFIX "AllocEnv",
|
||||
en_AllocConnect, CLI_NAME_PREFIX "AllocConnect",
|
||||
en_Connect, CLI_NAME_PREFIX "Connect",
|
||||
en_DriverConnect, CLI_NAME_PREFIX "DriverConnect",
|
||||
en_BrowseConnect, CLI_NAME_PREFIX "BrowseConnect",
|
||||
{ en_AllocEnv, CLI_NAME_PREFIX "AllocEnv" },
|
||||
{ en_AllocConnect, CLI_NAME_PREFIX "AllocConnect" },
|
||||
{ en_Connect, CLI_NAME_PREFIX "Connect" },
|
||||
{ en_DriverConnect, CLI_NAME_PREFIX "DriverConnect" },
|
||||
{ en_BrowseConnect, CLI_NAME_PREFIX "BrowseConnect" },
|
||||
|
||||
en_DataSources, CLI_NAME_PREFIX "DataSources",
|
||||
en_Drivers, CLI_NAME_PREFIX "Driver",
|
||||
en_GetInfo, CLI_NAME_PREFIX "GetInfo",
|
||||
en_GetFunctions, CLI_NAME_PREFIX "GetFunctions",
|
||||
en_GetTypeInfo, CLI_NAME_PREFIX "GetTypeInfo",
|
||||
{ en_DataSources, CLI_NAME_PREFIX "DataSources" },
|
||||
{ en_Drivers, CLI_NAME_PREFIX "Driver" },
|
||||
{ en_GetInfo, CLI_NAME_PREFIX "GetInfo" },
|
||||
{ en_GetFunctions, CLI_NAME_PREFIX "GetFunctions" },
|
||||
{ en_GetTypeInfo, CLI_NAME_PREFIX "GetTypeInfo" },
|
||||
|
||||
en_SetConnectOption, CLI_NAME_PREFIX "SetConnectOption",
|
||||
en_GetConnectOption, CLI_NAME_PREFIX "GetConnectOption",
|
||||
en_SetStmtOption, CLI_NAME_PREFIX "SetStmtOption",
|
||||
en_GetStmtOption, CLI_NAME_PREFIX "GetStmtOption",
|
||||
{ en_SetConnectOption, CLI_NAME_PREFIX "SetConnectOption" },
|
||||
{ en_GetConnectOption, CLI_NAME_PREFIX "GetConnectOption" },
|
||||
{ en_SetStmtOption, CLI_NAME_PREFIX "SetStmtOption" },
|
||||
{ en_GetStmtOption, CLI_NAME_PREFIX "GetStmtOption" },
|
||||
|
||||
en_AllocStmt, CLI_NAME_PREFIX "AllocStmt",
|
||||
en_Prepare, CLI_NAME_PREFIX "Prepare",
|
||||
en_BindParameter, CLI_NAME_PREFIX "BindParameter",
|
||||
en_ParamOptions, CLI_NAME_PREFIX "ParamOptions",
|
||||
en_GetCursorName, CLI_NAME_PREFIX "GetCursorName",
|
||||
en_SetCursorName, CLI_NAME_PREFIX "SetCursorName",
|
||||
en_SetScrollOptions, CLI_NAME_PREFIX "SetScrollOptions",
|
||||
en_SetParam, CLI_NAME_PREFIX "SetParam",
|
||||
{ en_AllocStmt, CLI_NAME_PREFIX "AllocStmt" },
|
||||
{ en_Prepare, CLI_NAME_PREFIX "Prepare" },
|
||||
{ en_BindParameter, CLI_NAME_PREFIX "BindParameter" },
|
||||
{ en_ParamOptions, CLI_NAME_PREFIX "ParamOptions" },
|
||||
{ en_GetCursorName, CLI_NAME_PREFIX "GetCursorName" },
|
||||
{ en_SetCursorName, CLI_NAME_PREFIX "SetCursorName" },
|
||||
{ en_SetScrollOptions, CLI_NAME_PREFIX "SetScrollOptions" },
|
||||
{ en_SetParam, CLI_NAME_PREFIX "SetParam" },
|
||||
|
||||
en_Execute, CLI_NAME_PREFIX "Execute",
|
||||
en_ExecDirect, CLI_NAME_PREFIX "ExecDirect",
|
||||
en_NativeSql, CLI_NAME_PREFIX "NativeSql",
|
||||
en_DescribeParam, CLI_NAME_PREFIX "DescribeParam",
|
||||
en_NumParams, CLI_NAME_PREFIX "NumParams",
|
||||
en_ParamData, CLI_NAME_PREFIX "ParamData",
|
||||
en_PutData, CLI_NAME_PREFIX "PutData",
|
||||
{ en_Execute, CLI_NAME_PREFIX "Execute" },
|
||||
{ en_ExecDirect, CLI_NAME_PREFIX "ExecDirect" },
|
||||
{ en_NativeSql, CLI_NAME_PREFIX "NativeSql" },
|
||||
{ en_DescribeParam, CLI_NAME_PREFIX "DescribeParam" },
|
||||
{ en_NumParams, CLI_NAME_PREFIX "NumParams" },
|
||||
{ en_ParamData, CLI_NAME_PREFIX "ParamData" },
|
||||
{ en_PutData, CLI_NAME_PREFIX "PutData" },
|
||||
|
||||
en_RowCount, CLI_NAME_PREFIX "RowCount",
|
||||
en_NumResultCols, CLI_NAME_PREFIX "NumResultCols",
|
||||
en_DescribeCol, CLI_NAME_PREFIX "DescribeCol",
|
||||
en_ColAttributes, CLI_NAME_PREFIX "ColAttributes",
|
||||
en_BindCol, CLI_NAME_PREFIX "BindCol",
|
||||
en_Fetch, CLI_NAME_PREFIX "Fetch",
|
||||
en_ExtendedFetch, CLI_NAME_PREFIX "ExtendedFetch",
|
||||
en_GetData, CLI_NAME_PREFIX "GetData",
|
||||
en_SetPos, CLI_NAME_PREFIX "SetPos",
|
||||
en_MoreResults, CLI_NAME_PREFIX "MoreResults",
|
||||
en_Error, CLI_NAME_PREFIX "Error",
|
||||
{ en_RowCount, CLI_NAME_PREFIX "RowCount" },
|
||||
{ en_NumResultCols, CLI_NAME_PREFIX "NumResultCols" },
|
||||
{ en_DescribeCol, CLI_NAME_PREFIX "DescribeCol" },
|
||||
{ en_ColAttributes, CLI_NAME_PREFIX "ColAttributes" },
|
||||
{ en_BindCol, CLI_NAME_PREFIX "BindCol" },
|
||||
{ en_Fetch, CLI_NAME_PREFIX "Fetch" },
|
||||
{ en_ExtendedFetch, CLI_NAME_PREFIX "ExtendedFetch" },
|
||||
{ en_GetData, CLI_NAME_PREFIX "GetData" },
|
||||
{ en_SetPos, CLI_NAME_PREFIX "SetPos" },
|
||||
{ en_MoreResults, CLI_NAME_PREFIX "MoreResults" },
|
||||
{ en_Error, CLI_NAME_PREFIX "Error" },
|
||||
|
||||
en_ColumnPrivileges, CLI_NAME_PREFIX "ColumnPrivileges",
|
||||
en_Columns, CLI_NAME_PREFIX "Columns",
|
||||
en_ForeignKeys, CLI_NAME_PREFIX "ForeignKeys",
|
||||
en_PrimaryKeys, CLI_NAME_PREFIX "PrimaryKeys",
|
||||
en_ProcedureColumns, CLI_NAME_PREFIX "ProcedureColumns",
|
||||
en_Procedures, CLI_NAME_PREFIX "Procedures",
|
||||
en_SpecialColumns, CLI_NAME_PREFIX "SpecialColumns",
|
||||
en_Statistics, CLI_NAME_PREFIX "Statistics",
|
||||
en_TablePrivileges, CLI_NAME_PREFIX "TablePrivileges",
|
||||
en_Tables, CLI_NAME_PREFIX "Tables",
|
||||
{ en_ColumnPrivileges, CLI_NAME_PREFIX "ColumnPrivileges" },
|
||||
{ en_Columns, CLI_NAME_PREFIX "Columns" },
|
||||
{ en_ForeignKeys, CLI_NAME_PREFIX "ForeignKeys" },
|
||||
{ en_PrimaryKeys, CLI_NAME_PREFIX "PrimaryKeys" },
|
||||
{ en_ProcedureColumns, CLI_NAME_PREFIX "ProcedureColumns" },
|
||||
{ en_Procedures, CLI_NAME_PREFIX "Procedures" },
|
||||
{ en_SpecialColumns, CLI_NAME_PREFIX "SpecialColumns" },
|
||||
{ en_Statistics, CLI_NAME_PREFIX "Statistics" },
|
||||
{ en_TablePrivileges, CLI_NAME_PREFIX "TablePrivileges" },
|
||||
{ en_Tables, CLI_NAME_PREFIX "Tables" },
|
||||
|
||||
en_FreeStmt, CLI_NAME_PREFIX "FreeStmt",
|
||||
en_Cancel, CLI_NAME_PREFIX "Cancel",
|
||||
en_Transact, CLI_NAME_PREFIX "Transact",
|
||||
{ en_FreeStmt, CLI_NAME_PREFIX "FreeStmt" },
|
||||
{ en_Cancel, CLI_NAME_PREFIX "Cancel" },
|
||||
{ en_Transact, CLI_NAME_PREFIX "Transact" },
|
||||
|
||||
en_Disconnect, CLI_NAME_PREFIX "Disconnect",
|
||||
en_FreeConnect, CLI_NAME_PREFIX "FreeConnect",
|
||||
en_FreeEnv, CLI_NAME_PREFIX "FreeEnv",
|
||||
{ en_Disconnect, CLI_NAME_PREFIX "Disconnect" },
|
||||
{ en_FreeConnect, CLI_NAME_PREFIX "FreeConnect" },
|
||||
{ en_FreeEnv, CLI_NAME_PREFIX "FreeEnv" },
|
||||
|
||||
en_NullProc, NULL
|
||||
{ en_NullProc, NULL }
|
||||
};
|
||||
|
@@ -1,98 +1,98 @@
|
||||
static const sqlerrmsg_t sqlerrmsg_tab[] =
|
||||
{
|
||||
en_00000, "00000", "",
|
||||
en_01000, "01000", "General warning",
|
||||
en_01002, "01002", "Disconnect error",
|
||||
en_01004, "01004", "Data truncated",
|
||||
en_01006, "01006", "Privilege not revoked",
|
||||
en_01S00, "01S00", "Invalid connection string attribute",
|
||||
en_01S01, "01S01", "Error in row",
|
||||
en_01S02, "01S02", "Optional value changed",
|
||||
en_01S03, "01S03", "No rows updated or deleted",
|
||||
en_01S04, "01S04", "More than one row updated or deleted",
|
||||
en_07001, "07001", "Wrong number of parameters",
|
||||
en_07006, "07006", "Restricted data type attribute violation",
|
||||
en_08001, "08001", "Unable to connect to data source",
|
||||
en_08002, "08002", "Connection in use",
|
||||
en_08003, "08003", "Connect not open",
|
||||
en_08004, "08004", "Data source rejected establishment of connection",
|
||||
en_08007, "08007", "Connection failure during transaction",
|
||||
en_08S01, "08S01", "Communication link failure",
|
||||
en_21S01, "21S01", "Insert value list does not match",
|
||||
en_21S02, "21S02", "Degree of derived table does not match column list",
|
||||
en_22001, "22001", "String data right truncation",
|
||||
en_22003, "22003", "Numeric value out of range",
|
||||
en_22005, "22005", "Error in assignment",
|
||||
en_22008, "22008", "Datetime field overflow",
|
||||
en_22012, "22012", "Division by zero",
|
||||
en_22026, "22026", "String data, length mismatch",
|
||||
en_23000, "23000", "Integrity constraint violation",
|
||||
en_24000, "24000", "Invalid cursor state",
|
||||
en_25000, "25000", "Invalid transaction state",
|
||||
en_28000, "28000", "Invalid authorization specification",
|
||||
en_34000, "34000", "Invalid cursor name",
|
||||
en_37000, "37000", "Syntex error or access violation",
|
||||
en_3C000, "3C000", "Duplicate cursor name",
|
||||
en_40001, "40001", "Serialization failure",
|
||||
en_42000, "42000", "Syntax error or access violation",
|
||||
en_70100, "70100", "Operation aborted",
|
||||
en_IM001, "IM001", "Driver does not support this function",
|
||||
en_IM002, "IM002", "Data source name not found and no default "
|
||||
"driver specified. Driver could not be loaded",
|
||||
en_IM003, "IM003", "Specified driver could not be loaded",
|
||||
en_IM004, "IM004", "Driver's SQLAllocEnv() failed",
|
||||
en_IM005, "IM005", "Driver's SQLAllocConnect() failed",
|
||||
en_IM006, "IM006", "Driver's SQLSetConnectOption failed",
|
||||
en_IM007, "IM007", "No data source or driver specified, dialog prohibited",
|
||||
en_IM008, "IM008", "Dialog failed",
|
||||
en_IM009, "IM009", "Unable to load translation DLL",
|
||||
en_IM010, "IM010", "Data source name too long",
|
||||
en_IM011, "IM011", "Driver name too long",
|
||||
en_IM012, "IM012", "DRIVER keyword syntax error",
|
||||
en_IM013, "IM013", "Trace file error",
|
||||
en_IM014, "IM014", "Try to change tracing file while tracing is on",
|
||||
en_S0001, "S0001", "Base table or view already exists",
|
||||
en_S0002, "S0002", "Base table not found",
|
||||
en_S0011, "S0011", "Index already exists",
|
||||
en_S0012, "S0012", "Index not found",
|
||||
en_S0021, "S0021", "Column already exists",
|
||||
en_S0022, "S0022", "Column not found",
|
||||
en_S0023, "S0023", "No default for column",
|
||||
en_S1000, "S1000", "General error",
|
||||
en_S1001, "S1001", "Memory allocation failure",
|
||||
en_S1002, "S1002", "Invalid column number",
|
||||
en_S1003, "S1003", "Program type out of range",
|
||||
en_S1004, "S1004", "SQL data type out of range",
|
||||
en_S1008, "S1008", "Operation canceled",
|
||||
en_S1009, "S1009", "Invalid argument value",
|
||||
en_S1010, "S1010", "Function sequence error",
|
||||
en_S1011, "S1011", "Operation invalid at this time",
|
||||
en_S1012, "S1012", "Invalid transaction operation code specified",
|
||||
en_S1015, "S1015", "No cursor name available",
|
||||
en_S1090, "S1090", "Invalid string or buffer length",
|
||||
en_S1091, "S1091", "Descriptor type out of range",
|
||||
en_S1092, "S1092", "Option type out of range",
|
||||
en_S1093, "S1093", "Invalid parameter",
|
||||
en_S1094, "S1094", "Invalid scale value",
|
||||
en_S1095, "S1095", "Function type out of range",
|
||||
en_S1096, "S1096", "Information type out of range",
|
||||
en_S1097, "S1097", "Column type out of range",
|
||||
en_S1098, "S1098", "Scope type out of range",
|
||||
en_S1099, "S1099", "Nullable type out of range",
|
||||
en_S1100, "S1100", "Uniquenss option type out of range",
|
||||
en_S1101, "S1101", "Accuracy option type out of range",
|
||||
en_S1103, "S1103", "Direction option out of range",
|
||||
en_S1104, "S1104", "Invalid precision value",
|
||||
en_S1105, "S1105", "Invalid parameter type",
|
||||
en_S1106, "S1106", "Fetch type out of range",
|
||||
en_S1107, "S1107", "Row value out of range",
|
||||
en_S1108, "S1108", "Concurrency option out of range",
|
||||
en_S1109, "S1109", "Invalid cursor position",
|
||||
en_S1110, "S1110", "Invalid driver completion",
|
||||
en_S1111, "S1111", "Invalid bookmark value",
|
||||
en_S1C00, "S1C00", "Driver not capable",
|
||||
en_S1T00, "S1T00", "Timeout expired",
|
||||
en_sqlstat_total, NULL, NULL
|
||||
{ en_00000, "00000", "" },
|
||||
{ en_01000, "01000", "General warning" },
|
||||
{ en_01002, "01002", "Disconnect error" },
|
||||
{ en_01004, "01004", "Data truncated" },
|
||||
{ en_01006, "01006", "Privilege not revoked" },
|
||||
{ en_01S00, "01S00", "Invalid connection string attribute" },
|
||||
{ en_01S01, "01S01", "Error in row" },
|
||||
{ en_01S02, "01S02", "Optional value changed" },
|
||||
{ en_01S03, "01S03", "No rows updated or deleted" },
|
||||
{ en_01S04, "01S04", "More than one row updated or deleted" },
|
||||
{ en_07001, "07001", "Wrong number of parameters" },
|
||||
{ en_07006, "07006", "Restricted data type attribute violation" },
|
||||
{ en_08001, "08001", "Unable to connect to data source" },
|
||||
{ en_08002, "08002", "Connection in use" },
|
||||
{ en_08003, "08003", "Connect not open" },
|
||||
{ en_08004, "08004", "Data source rejected establishment of connection" },
|
||||
{ en_08007, "08007", "Connection failure during transaction" },
|
||||
{ en_08S01, "08S01", "Communication link failure" },
|
||||
{ en_21S01, "21S01", "Insert value list does not match" },
|
||||
{ en_21S02, "21S02", "Degree of derived table does not match column list" },
|
||||
{ en_22001, "22001", "String data right truncation" },
|
||||
{ en_22003, "22003", "Numeric value out of range" },
|
||||
{ en_22005, "22005", "Error in assignment" },
|
||||
{ en_22008, "22008", "Datetime field overflow" },
|
||||
{ en_22012, "22012", "Division by zero" },
|
||||
{ en_22026, "22026", "String data, length mismatch" },
|
||||
{ en_23000, "23000", "Integrity constraint violation" },
|
||||
{ en_24000, "24000", "Invalid cursor state" },
|
||||
{ en_25000, "25000", "Invalid transaction state" },
|
||||
{ en_28000, "28000", "Invalid authorization specification" },
|
||||
{ en_34000, "34000", "Invalid cursor name" },
|
||||
{ en_37000, "37000", "Syntex error or access violation" },
|
||||
{ en_3C000, "3C000", "Duplicate cursor name" },
|
||||
{ en_40001, "40001", "Serialization failure" },
|
||||
{ en_42000, "42000", "Syntax error or access violation" },
|
||||
{ en_70100, "70100", "Operation aborted" },
|
||||
{ en_IM001, "IM001", "Driver does not support this function" },
|
||||
{ en_IM002, "IM002", "Data source name not found and no default "
|
||||
"driver specified. Driver could not be loaded" },
|
||||
{ en_IM003, "IM003", "Specified driver could not be loaded" },
|
||||
{ en_IM004, "IM004", "Driver's SQLAllocEnv() failed" },
|
||||
{ en_IM005, "IM005", "Driver's SQLAllocConnect() failed" },
|
||||
{ en_IM006, "IM006", "Driver's SQLSetConnectOption failed" },
|
||||
{ en_IM007, "IM007", "No data source or driver specified, dialog prohibited" },
|
||||
{ en_IM008, "IM008", "Dialog failed" },
|
||||
{ en_IM009, "IM009", "Unable to load translation DLL" },
|
||||
{ en_IM010, "IM010", "Data source name too long" },
|
||||
{ en_IM011, "IM011", "Driver name too long" },
|
||||
{ en_IM012, "IM012", "DRIVER keyword syntax error" },
|
||||
{ en_IM013, "IM013", "Trace file error" },
|
||||
{ en_IM014, "IM014", "Try to change tracing file while tracing is on" },
|
||||
{ en_S0001, "S0001", "Base table or view already exists" },
|
||||
{ en_S0002, "S0002", "Base table not found" },
|
||||
{ en_S0011, "S0011", "Index already exists" },
|
||||
{ en_S0012, "S0012", "Index not found" },
|
||||
{ en_S0021, "S0021", "Column already exists" },
|
||||
{ en_S0022, "S0022", "Column not found" },
|
||||
{ en_S0023, "S0023", "No default for column" },
|
||||
{ en_S1000, "S1000", "General error" },
|
||||
{ en_S1001, "S1001", "Memory allocation failure" },
|
||||
{ en_S1002, "S1002", "Invalid column number" },
|
||||
{ en_S1003, "S1003", "Program type out of range" },
|
||||
{ en_S1004, "S1004", "SQL data type out of range" },
|
||||
{ en_S1008, "S1008", "Operation canceled" },
|
||||
{ en_S1009, "S1009", "Invalid argument value" },
|
||||
{ en_S1010, "S1010", "Function sequence error" },
|
||||
{ en_S1011, "S1011", "Operation invalid at this time" },
|
||||
{ en_S1012, "S1012", "Invalid transaction operation code specified" },
|
||||
{ en_S1015, "S1015", "No cursor name available" },
|
||||
{ en_S1090, "S1090", "Invalid string or buffer length" },
|
||||
{ en_S1091, "S1091", "Descriptor type out of range" },
|
||||
{ en_S1092, "S1092", "Option type out of range" },
|
||||
{ en_S1093, "S1093", "Invalid parameter" },
|
||||
{ en_S1094, "S1094", "Invalid scale value" },
|
||||
{ en_S1095, "S1095", "Function type out of range" },
|
||||
{ en_S1096, "S1096", "Information type out of range" },
|
||||
{ en_S1097, "S1097", "Column type out of range" },
|
||||
{ en_S1098, "S1098", "Scope type out of range" },
|
||||
{ en_S1099, "S1099", "Nullable type out of range" },
|
||||
{ en_S1100, "S1100", "Uniquenss option type out of range" },
|
||||
{ en_S1101, "S1101", "Accuracy option type out of range" },
|
||||
{ en_S1103, "S1103", "Direction option out of range" },
|
||||
{ en_S1104, "S1104", "Invalid precision value" },
|
||||
{ en_S1105, "S1105", "Invalid parameter type" },
|
||||
{ en_S1106, "S1106", "Fetch type out of range" },
|
||||
{ en_S1107, "S1107", "Row value out of range" },
|
||||
{ en_S1108, "S1108", "Concurrency option out of range" },
|
||||
{ en_S1109, "S1109", "Invalid cursor position" },
|
||||
{ en_S1110, "S1110", "Invalid driver completion" },
|
||||
{ en_S1111, "S1111", "Invalid bookmark value" },
|
||||
{ en_S1C00, "S1C00", "Driver not capable" },
|
||||
{ en_S1T00, "S1T00", "Timeout expired" },
|
||||
{ en_sqlstat_total, NULL, NULL }
|
||||
};
|
||||
|
||||
static char FAR* sqlerrhd = "[iODBC][Driver Manager]";
|
||||
|
Reference in New Issue
Block a user