(" \ "`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL," \ "`tx_bytes` bigint(20) NOT NULL," \ "`rx_bytes` bigint(20) NOT NULL," \ "`timestamp` datetime);" #define CMD_CREATE_DP_INDEX "CREATE INDEX IF NOT EXISTS `timestamp_idx` ON \ `data_planner` (`timestamp` DESC);"
◦ sqlite3_busy_handle ▪ More flexible, can add sleep() and retry times ◦ sqlite3_busy_timeout ◦ http://www.bubuko.com/infodetail-240892.html ◦ http://www.360doc. com/content/10/1214/12/87000_77984300.shtml