will be initialized after [-Wreorder] [closed]

The problem is the order in which you initialize members in the initializer list on line 22,

_SQLResult(): pSQLResult(NULL), uiNumRows(0),
              uiAffectedRows(0), uiInsertID(0)

These should appear in the same order as they appear in the class definition. For example:

class test {
  test(): foo(1), bar(2) { }
  int  foo;
  long bar;
};

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)