SASGIS - SAS.Планета | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0003168 | SAS.Планета | [All Projects] Баг | public | 09-01-2017 10:34 | 12-01-2017 19:01 |
Reporter | Desert Rat | ||||
Assigned To | zed | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Windows | OS | 7 | OS Version | Ultimate |
Product Version | .Nightly | ||||
Target Version | Fixed in Version | ||||
Summary | 0003168: Не работают метки в MySQL через ODBC | ||||
Description | При использовании ODBC MySQL (5.1 5.2 5.3) БД создается не до конца и с ошибками. Причиной является пустой параметр имени в БД. select COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, NUMERIC_PRECISION, NUMERIC_SCALE, 0 INDEX_COUNT from INFORMATION_SCHEMA.COLUMNS where UPPER(TABLE_SCHEMA) = '' and UPPER(TABLE_NAME) = 'USER' При использовании Connection String: select COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, NUMERIC_PRECISION, NUMERIC_SCALE, 0 INDEX_COUNT from INFORMATION_SCHEMA.COLUMNS where UPPER(TABLE_SCHEMA) = 'DRIVER={MYSQL ODBC 5.3 ANSI DRIVER};SERVER=localhost;DATABASE=SASPLANET;UID=root;PASSWORD=root;' and UPPER(TABLE_NAME) = 'USER' | ||||
Steps To Reproduce | 1. Установить 5.3 ODBC MySQL Driver 2. Настроить ODBC в Windows через Источник Данных ODBC 3. Включить global_log в MySQL 4. Использовать ODBC в SasPlanet | ||||
Additional Information | SET NAMES utf8 SET character_set_results = NULL SET SQL_AUTO_IS_NULL = 0 set @@sql_select_limit=DEFAULT select COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, NUMERIC_PRECISION, NUMERIC_SCALE, 0 INDEX_COUNT from INFORMATION_SCHEMA.COLUMNS where UPPER(TABLE_SCHEMA) = '' and UPPER(TABLE_NAME) = 'USER' SELECT TABLE_NAME, TABLE_COMMENT, TABLE_TYPE, TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = DATABASE() AND ( TABLE_TYPE='BASE TABLE' OR TABLE_TYPE='VIEW' ) AND TABLE_NAME LIKE 'USER' SELECT TABLE_NAME, TABLE_COMMENT, TABLE_TYPE, TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = DATABASE() AND ( TABLE_TYPE='BASE TABLE' OR TABLE_TYPE='VIEW' ) AND TABLE_NAME LIKE 'USER' CREATE TABLE User (ID bigint NOT NULL,uName mediumtext character set UTF8, PRIMARY KEY(ID)) select COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, NUMERIC_PRECISION, NUMERIC_SCALE, 0 INDEX_COUNT from INFORMATION_SCHEMA.COLUMNS where UPPER(TABLE_SCHEMA) = '' and UPPER(TABLE_NAME) = 'USER' SELECT TABLE_NAME, TABLE_COMMENT, TABLE_TYPE, TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = DATABASE() AND ( TABLE_TYPE='BASE TABLE' OR TABLE_TYPE='VIEW' ) AND TABLE_NAME LIKE 'USER' SHOW KEYS FROM `USER` SHOW KEYS FROM `USER` | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Image 1.png (22,728) 12-01-2017 11:42 https://bugtracker.sasgis.org/file_download.php?file_id=2135&type=bug Image 2.png (8,875) 12-01-2017 11:43 https://bugtracker.sasgis.org/file_download.php?file_id=2136&type=bug Image 3.png (9,683) 12-01-2017 15:39 https://bugtracker.sasgis.org/file_download.php?file_id=2137&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
09-01-2017 10:34 | Desert Rat | New Issue | |||
12-01-2017 11:33 | zed | Summary | ODBC MySQL не рабочий => Не работают метки в MySQL через ODBC | ||
12-01-2017 11:42 | zed | Note Added: 0017771 | |||
12-01-2017 11:42 | zed | File Added: Image 1.png | |||
12-01-2017 11:43 | zed | File Added: Image 2.png | |||
12-01-2017 11:44 | zed | Status | new => feedback | ||
12-01-2017 11:51 | zed | Note Edited: 0017771 | bug_revision_view_page.php?bugnote_id=17771#r7118 | ||
12-01-2017 13:47 | Desert Rat | Note Added: 0017772 | |||
12-01-2017 13:47 | Desert Rat | Status | feedback => new | ||
12-01-2017 15:39 | zed | Note Added: 0017773 | |||
12-01-2017 15:39 | zed | File Added: Image 3.png | |||
12-01-2017 15:40 | zed | Status | new => feedback | ||
12-01-2017 16:05 | Desert Rat | Note Added: 0017774 | |||
12-01-2017 16:05 | Desert Rat | Status | feedback => new | ||
12-01-2017 16:07 | zed | Note Added: 0017775 | |||
12-01-2017 18:43 | Desert Rat | Note Added: 0017776 | |||
12-01-2017 19:00 | zed | Note Added: 0017777 | |||
12-01-2017 19:01 | zed | Status | new => closed | ||
12-01-2017 19:01 | zed | Assigned To | => zed | ||
12-01-2017 19:01 | zed | Resolution | open => no change required | ||
12-01-2017 19:01 | zed | Note Edited: 0017777 | bug_revision_view_page.php?bugnote_id=17777#r7120 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|