我试图在创建表后检查表是否存在但不"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 关注
- 275 浏览
添加回答
举报
0/150
提交
取消