@@ -26,7 +26,7 @@ var issuer = {
2626// }
2727
2828
29- var sTableName = "a2 " ;
29+ var sTableName = "a5 " ;
3030var sTableName2 = "b1" ;
3131var sReName = "boy1234" ;
3232var sTableName3 = "hijack12" ;
@@ -43,13 +43,17 @@ async function main(){
4343
4444 // c.setRestrict(true);
4545 //激活user账户
46+ < << << << Updated upstream
4647 // await activateAccount(user.address);
48+ = = === ==
49+ // await activateAccount(user.address);
50+ >>> >>> > Stashed changes
4751
4852 //await testSubscribe();
4953
5054 // await testRippleAPI();
5155 // await testAccount();
52- // await testChainsql();
56+ await testChainsql();
5357
5458 //await c.disconnect();
5559 console.log('运行结束')
@@ -137,7 +141,7 @@ async function testAccount(){
137141}
138142
139143async function testChainsql(){
140- // await testCreateTable();
144+ await testCreateTable ( ) ;
141145
142146 // // //创建另一张表,用来测试rename,drop
143147 // await testCreateTable1();
@@ -151,8 +155,12 @@ async function testChainsql(){
151155 // await testTxs();
152156 // await insertAfterGrant();
153157 // await testOperationRule();
158+ << < << << Updated upstream
154159 await testAccountTables ( ) ;
155160 await testTableAuth ( ) ;
161+ === = ===
162+ //await testAccountTables();
163+ > >>> > >> Stashed changes
156164
157165 //现在底层不允许直接删除所有记录这种操作了
158166 // await testDeleteAll();
@@ -186,7 +194,7 @@ function unsubTable(tb, owner) {
186194var testCreateTable = async function() {
187195 var raw = [
188196 { 'field' :'id' , 'type' :'int' , 'length' :11 , 'PK' :1 , 'NN' :1 } ,
189- { 'field' :'name' , 'type' :'varchar' , 'length' :50 , 'default' :null } ,
197+ { 'field' :'name' , 'type' :'varchar' , 'length' :50 , 'default' :"" } ,
190198 { 'field' :'age' , 'type' :'int' }
191199 ]
192200 var option = {
0 commit comments