1--TEST--
2SQLite3::changes empty str tests
3--CREDITS--
4Ward Hus
5#@ PHP TESTFEST 2009 (BELGIUM)
6--SKIPIF--
7<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
8--FILE--
9<?php
10$db = new SQLite3(':memory:');
11//$db = new SQLite3('mysqlitedb.db');
12$db->exec('CREATE TABLE pageView(id INTEGER PRIMARY KEY, page CHAR(256), access INTEGER(10))');
13$db->exec('INSERT INTO pageView (page, access) VALUES (\'test\', \'000000\')');
14echo $db->changes("dummy");
15?>
16--EXPECTF--
17Warning: SQLite3::changes() expects exactly 0 parameters, 1 given in %s on line %d
18