CloneSet933


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113512
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java
213330
E:/TSE/Projects-CloneDR/sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/util/DBUtil.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
512
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java

// Currently, as of milestone 3, Axion doesn't support "schemas" like
// other databases. So, set the schema to emtpy string if we detect
// an Axion session.
if (con.getSQLMetaData().getDriverName().toLowerCase().startsWith("axion")) {
  schema = "";
}
String catalog = null;
// MySQL uses catalogs and not schemas
if (DialectFactory.isMySQL(session.getMetaData())) {
  catalog = schema;
  schema = null;
}
// trim the table name in case of HADB
tableName = tableName.trim();


First
Previous
Clone Instance
2
Line Count
13
Source Line
330
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/util/DBUtil.java

// Currently, as of milestone 3, Axion doesn't support "schemas" like
// other databases. So, set the schema to emtpy string if we detect
// an Axion session.
if (con.getSQLMetaData().getDriverName().toLowerCase().startsWith("axion")) {
  schema = "";
}
String catalog = null;
// MySQL uses catalogs and not schemas
if (DialectFactory.isMySQL(session.getMetaData())) {
  catalog = schema;
  schema = null;
}
// trim the table name in case of HADB
tableName = tableName.trim();


Clone AbstractionParameter Count: 0Parameter Bindings

// Currently, as of milestone 3, Axion doesn't support "schemas" like
// other databases. So, set the schema to emtpy string if we detect
// an Axion session.
if (con.getSQLMetaData().getDriverName().toLowerCase().startsWith("axion")) {
  schema = "";
}
String catalog = null;
// MySQL uses catalogs and not schemas
if (DialectFactory.isMySQL(session.getMetaData())) {
  catalog = schema;
  schema = null;
}
// trim the table name in case of HADB
tableName = tableName.trim();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None