projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativesqldatabase
/
data
/
reopen2.js
1
function test() {
2
var r="transaction_not_finished";
3
var db = openDatabaseSync("QmlTestDB-reopen", "1.0", "Test database from Qt autotests", 1000000);
4
5
db.transaction(
6
function(tx) {
7
var rs = tx.executeSql('SELECT * FROM Greeting');
8
if (rs.rows.item(0).salutation == 'hello')
9
r = "passed";
10
else
11
r = "FAILED";
12
}
13
);
14
15
return r;
16
}