git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15821
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
SWORD cType, int size, bool keyField, bool upd,
bool insAllow, bool derivedCol)
{
SWORD cType, int size, bool keyField, bool upd,
bool insAllow, bool derivedCol)
{
+ wxASSERT_MSG( index < noCols,
+ _T("Specified column index exceeds the maximum number of columns for this table.") );
+
if (!colDefs) // May happen if the database connection fails
return;
if (!colDefs) // May happen if the database connection fails
return;