mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-19 03:56:18 -04:00
add a method to access the underlying MYSQL_ROW
This commit is contained in:
@@ -33,6 +33,8 @@ class zmDbRow {
|
||||
zmDbRow( MYSQL_RES *, MYSQL_ROW *row );
|
||||
~zmDbRow();
|
||||
|
||||
MYSQL_ROW mysql_row() const { return row; };
|
||||
|
||||
char *operator[](unsigned int index) const {
|
||||
return row[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user