fix prepared statement ERROR due to EMPTY_QUERY defined as static. Repor...

...ted by: Naoya Anzai\

Bug Fix