File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
assembly/src/main/assembly
core/src/main/java/com/qihoo/qsql/metadata Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7878 <exclude >org.apache.hadoop:*:jar</exclude >
7979 <exclude >org.apache.hive:*:jar</exclude >
8080 <exclude >org.spark-project.hive:*:jar</exclude >
81- <!-- < exclude>org.apache.lucene :*:jar</exclude> -- >
81+ <exclude >org.antlr :*:jar</exclude >
8282 <exclude >org.apache.spark:*:jar</exclude >
8383 </excludes >
8484 <outputDirectory >/${qsql.release}/lib</outputDirectory >
Original file line number Diff line number Diff line change @@ -287,13 +287,13 @@ private Long getLastInsertPrimaryKey() {
287287
288288 private Connection createConnection () throws SQLException {
289289 if (! MetaConnectionUtil .isEmbeddedDatabase (properties )) {
290- MetaConnectionUtil .getExternalConnection (properties );
290+ return MetaConnectionUtil .getExternalConnection (properties );
291291 }
292292
293293 try {
294294 Class .forName ("org.sqlite.JDBC" );
295295 return DriverManager .getConnection ("jdbc:sqlite://"
296- + new File (properties .getProperty (MetadataParams .META_INTERN_SCHEMA_DIR , "../sqlite /schema.db" ))
296+ + new File (properties .getProperty (MetadataParams .META_INTERN_SCHEMA_DIR , "../metastore /schema.db" ))
297297 .getAbsolutePath ());
298298 } catch (ClassNotFoundException | SQLException ex ) {
299299 throw new RuntimeException (ex );
Original file line number Diff line number Diff line change @@ -239,4 +239,4 @@ Initialize the sample data to the MySQL database
239239``` shell
240240cd $QSQL_HOME /bin/
241241./metadata --dbType mysql --action init
242- ```
242+ ```
You can’t perform that action at this time.
0 commit comments