プリペアードステートメントで失敗しました。処理を中止します。
Standard Message: MDB2 Error: syntax error
Standard Code: -2
DBMS/User Message: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE MDB2_STATEMENT_mysql_73d4bd079c01017c8a44689fcafd35c0 FROM 'select count(*) from m_item item inner join brands brands on item.category = brands.category and item.brand = brands.brand inner join m_category category on item.category = category.id inner join m_brand brand on item.brand = brand.id inner join m_model model on item.model = model.id where item.public = 1 and item.del = 0 and item.price_down = \\der= and item.category = 3 and item.brand = 43 ']
[Native code: 1064]
[Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and item.category = 3 and item.brand = 43' at line 1]
DBMS/Debug Message: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE MDB2_STATEMENT_mysql_73d4bd079c01017c8a44689fcafd35c0 FROM 'select count(*) from m_item item inner join brands brands on item.category = brands.category and item.brand = brands.brand inner join m_category category on item.category = category.id inner join m_brand brand on item.brand = brand.id inner join m_model model on item.model = model.id where item.public = 1 and item.del = 0 and item.price_down = \\der= and item.category = 3 and item.brand = 43 ']
[Native code: 1064]
[Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and item.category = 3 and item.brand = 43' at line 1]