MySQL™: The World’s Most Popular Open Source Database 164 4.1: Prepared Statement • Instead of sending a query direct you do – Prepare SELECT foo from bar where a=? – Do ("1") – Do ("2") • Also works with binary data without quoting • The client server protocol has been extended for this • The whole protocol is now fully binary so it runs even faster Copyright 2003 MySQL AB
MySQL Page 163 Page 165