warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
อันนี้ อาจจะได้คำตอบหรือเปล่าครับ
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/137270
แต่ก็ขึ้นอยู่กับ implementation ของ api แต่ละตัวด้วยนะครับ ว่าเค้า optimize กับการ fetch แค่ไหน บางอัน fetchmany ก็แค่เรียก fetchone วนลูปเอา
ต้องอ้าง PEP http://www.python.org/dev/peps/pep-0249/
ขอบคุณครับ