This repository was archived by the owner on Sep 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-21
lines changed Expand file tree Collapse file tree 3 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 2
2
//
3
3
// Peloton
4
4
//
5
- // AlterTableTest .java
5
+ // AlterBenchmarkTest .java
6
6
//
7
7
// Identification: script/testing/junit/AlterBenchmarkTest.java
8
8
//
Original file line number Diff line number Diff line change @@ -103,24 +103,24 @@ public void test_RenameCol_Exist() throws SQLException {
103
103
conn .createStatement ().execute (sql );
104
104
}
105
105
106
- /**
107
- * Two transactions try to rename at the same time, should throw exception
108
- */
109
- @ Test
110
- public void test_RenameCol_Concurrent () throws SQLException {
111
- conn . setAutoCommit ( false );
112
- conn2 .setAutoCommit (false );
113
-
114
- conn . createStatement (). execute ( SQL_RENAME_COLUMN );
115
-
116
- thrown . expect ( PSQLException . class );
117
- conn2 . createStatement (). execute ( SQL_RENAME_COLUMN );
118
-
119
- conn . commit ();
120
- conn2 .commit ();
121
- }
122
-
123
- // The following tests are currently broken.
106
+ // The following tests are currently broken due to multi-txn bugs.
107
+ // /**
108
+ // * Two transactions try to rename at the same time, should throw exception
109
+ // */
110
+ // @Test
111
+ // public void test_RenameCol_Concurrent() throws SQLException {
112
+ // conn .setAutoCommit(false);
113
+ // conn2.setAutoCommit(false);
114
+ //
115
+ // conn.createStatement().execute(SQL_RENAME_COLUMN);
116
+ //
117
+ // thrown.expect(PSQLException.class );
118
+ // conn2.createStatement().execute(SQL_RENAME_COLUMN);
119
+ //
120
+ // conn .commit();
121
+ // conn2.commit();
122
+ // }
123
+ //
124
124
//
125
125
// /**
126
126
// * 2 transactions, t2 reads the table between t1 executes the rename
Original file line number Diff line number Diff line change 2
2
//
3
3
// Peloton
4
4
//
5
- // alter_table_plan .cpp
5
+ // alter_plan .cpp
6
6
//
7
- // Identification: src/planner/alter_table_plan .cpp
7
+ // Identification: src/planner/alter_plan .cpp
8
8
//
9
9
// Copyright (c) 2015-18, Carnegie Mellon University Database Group
10
10
//
You can’t perform that action at this time.
0 commit comments