* Don't refer to a "flame IMD" when loading an IMD_Model, refer to "the IMD for field \"$fieldName\"" instead
* Reference records by their ID number (unique_inheritance_id) instead of some user-code dependent function git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5444 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
03cf003811
commit
c8dbcd6d2d
|
@ -516,7 +516,7 @@ sub printRowProcessCode
|
|||
$$output .= "${indent}stats->$fieldName = (iIMDShape *) resGetData(\"IMD\", (const char*)sqlite3_column_text(stmt, cols.$fieldName));\n"
|
||||
. "${indent}if (stats->$fieldName == NULL)\n"
|
||||
. "${indent}{\n"
|
||||
. "${indent}\tdebug(LOG_ERROR, \"Cannot find the flame PIE for record %s\", getStatName(stats));\n"
|
||||
. "${indent}\tdebug(LOG_ERROR, \"Cannot find the IMD for field \\\"$fieldName\\\" of record num %u\", (unsigned int)sqlite3_column_int(stmt, cols.unique_inheritance_id));\n"
|
||||
. "${indent}\tabort();\n"
|
||||
. "${indent}\tgoto in_statement_err;\n"
|
||||
. "${indent}}\n";
|
||||
|
|
Loading…
Reference in New Issue