Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Feb 4, 2024
1 parent 33064a6 commit 9d07864
Show file tree
Hide file tree
Showing 21 changed files with 45 additions and 1,589 deletions.
104 changes: 0 additions & 104 deletions bin/plsql.sh

This file was deleted.

1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ if [[ "${BUILD_FE}" -eq 1 ]]; then
"${DORIS_OUTPUT}/fe/webroot" "${DORIS_OUTPUT}/fe/lib"

cp -r -p "${DORIS_HOME}/bin"/*_fe.sh "${DORIS_OUTPUT}/fe/bin"/
cp -r -p "${DORIS_HOME}/bin"/plsql.sh "${DORIS_OUTPUT}/fe/bin"/
cp -r -p "${DORIS_HOME}/conf/fe.conf" "${DORIS_OUTPUT}/fe/conf"/
cp -r -p "${DORIS_HOME}/conf/ldap.conf" "${DORIS_OUTPUT}/fe/conf"/
cp -r -p "${DORIS_HOME}/conf/mysql_ssl_default_certificate" "${DORIS_OUTPUT}/fe/"/
Expand Down
62 changes: 0 additions & 62 deletions conf/plsql-site.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
// TYPE codes are defined in the file 'mysql/include/mysql_com.h' enum enum_field_types
// which is also demostrated in
// http://dev.mysql.com/doc/internals/en/com-query-response.html
// typeName from https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-type-conversions.html
// Name from https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-type-conversions.html
// In plsql/Var.defineType(), Plsql Var type will be found through the Mysql type name string.
// TODO, supports the correspondence between Doris type and Plsql Var.
public enum MysqlColType {
MYSQL_TYPE_DECIMAL(0, "DECIMAL", "DECIMAL"),
MYSQL_TYPE_TINY(1, "TINYINT", "TINY INT"),
Expand Down Expand Up @@ -56,25 +58,25 @@ public enum MysqlColType {
MYSQL_TYPE_GEOMETRY(255, "GEOMETRY", "GEOMETRY"),
MYSQL_TYPE_MAP(400, "MAP", "MAP");

private MysqlColType(int code, String typeName, String desc) {
private MysqlColType(int code, String name, String desc) {
this.code = code;
this.typeName = typeName;
this.name = name;
this.desc = desc;
}

// used in network
private int code;

private String typeName;
private String name;

private String desc;

public int getCode() {
return code;
}

public String getTypeName() {
return typeName;
public String getName() {
return name;
}

@Override
Expand Down
Loading

0 comments on commit 9d07864

Please sign in to comment.