Robert, Wednesday, May 22, 2002, 12:18:22 PM, you wrote: RV> I have a problem in an Apache module which connects to MySQL using C RV> API for counting banner views and clicks. RV> This module creates a report table for each day. This table is called RV> report_YYYYMMDD, where YYYYMMDD is the current day. To keep thing RV> simple I just make following query first:
RV> CREATE TABLE IF NOT EXISTS report_YYYYMMDD (PRIMARY KEY (banner_id)) RV> SELECT id as banner_id,0 as clicks, 0 as views from banners. [skip] RV> Well, funny things are happening here. After the first request the RV> table is created and everything is fine. But when the next one comes RV> the table is deleted! What table was deleted? report_YYYMMDD? RV> MySQL Log file says nothing. Nothing about table delete or nothing about error? RV> Can somone tell me what's going on? RV> MySQL Version is 3.23.49 and runs on a Linux system (compiled from RV> sources). RV> Thanks -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php