[MDEV-7569] Section name buffer in INI table is not enough Created: 2015-02-10 Updated: 2015-02-10 Resolved: 2015-02-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.0.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | weijenchang | Assignee: | Olivier Bertrand |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OS:Scientific Linux release 6.4 (Carbon) |
||
| Attachments: |
|
| Description |
|
Dear Sir, Best Regards, |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2015-02-10 ] | |
|
Hi, Could you provide a more thorough description of the problem and if you have repeatable set of commands/test case or database that would help to start resolving the actual issue. | |
| Comment by weijenchang [ 2015-02-10 ] | |
|
Thanks for your quick reply. I just attach two files, primary_info is the file which I'd to load into MariaDB, and there are 1720 sections. But I can just see 911 rows after I query the table. I also attach the end of the result of "select * from primary_info". Here is how I created my table: create table primary_info ( Hostname varchar(20) not null flag=1, MM_IP varchar(20) not null, Bay varchar(10) not null, Location varchar(20) not null, Purpose varchar(15), Annotation varchar(50)) engine=CONNECT table_type=INI file_name='/tmp/asgc_resource/primary_info/primary_info'; Best Regards, | |
| Comment by Olivier Bertrand [ 2015-02-10 ] | |
|
Actually the documentation is out of date and you have been mislead because of this. The default section buffer size is not 2K but 8K, and the option name is not seclen but secsize. Specifying:
I was able to display the 1720 sections. |