Skip to content

Commit

Permalink
Correct column size with string type
Browse files Browse the repository at this point in the history
Signed-off-by: Takashi SHIRAI <[email protected]>
  • Loading branch information
Takashi SHIRAI authored and vrana committed Feb 9, 2021
1 parent 27de041 commit ee4ffe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/drivers/oracle.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function fields($table) {
$type = $row["DATA_TYPE"];
$length = "$row[DATA_PRECISION],$row[DATA_SCALE]";
if ($length == ",") {
$length = $row["DATA_LENGTH"];
$length = $row["CHAR_COL_DECL_LENGTH"];
} //! int
$return[$row["COLUMN_NAME"]] = array(
"field" => $row["COLUMN_NAME"],
Expand Down
1 change: 1 addition & 0 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PostgreSQL: Fix multi-parameter functions in default values (bug #736)
PostgreSQL PDO: Do not select NULL function for false values in edit
Oracle: Count tables
Oracle: Import from CSV
Oracle: Fix column size with string type
SimpleDB, Firebird, ClickHouse: Move to plugin

Adminer 4.7.9 (released 2021-02-07):
Expand Down

0 comments on commit ee4ffe9

Please sign in to comment.