我試圖在創建表后檢查表是否存在但不"SELECT name FROM sqlite_master WHERE type='table' AND name='testtable';"返回任何內容 ( EOF)。我做錯了什么?Sqlite3 包取自http://code.google.com/p/go-sqlite/source/browse/#hg%2Fgo1%2Fsqlite3 Go version: 1.2.1得到了:hello, worldFileExists(dbname) returned: falsedatabase okcreating testtable...success!inserting something...checking testtable...Failed to scan variable, error: EOF預期的:hello, worldFileExists(dbname) returned: falsedatabase okcreating testtable...success!inserting something...checking testtable...Table detected
- 1 回答
- 0 關注
- 304 瀏覽
添加回答
舉報
0/150
提交
取消