[MDEV-8207] Minor Docs bug re: Connect Storage Engine Created: 2015-05-21  Updated: 2015-05-22  Resolved: 2015-05-22

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.0
Fix Version/s: 10.0.20

Type: Bug Priority: Trivial
Reporter: Chris Calender (Inactive) Assignee: Olivier Bertrand
Resolution: Fixed Votes: 0
Labels: None


 Description   

This page:

https://mariadb.com/kb/en/mariadb/connect/

It says the CONNECT version included in MariaDB 10.0.19 is Connect 1.03.0007.

However, in the Windows MariaDB 10.0.19, I see Connect 1.03.0006.

C:\Windows\system32>mysql -uroot -pxxx -P3315 -e"select version(); select * from information_schema.plugins where plugin_name='connect'\G"
+---------------------+
| version()           |
+---------------------+
| 10.0.19-MariaDB-log |
+---------------------+
*************************** 1. row ***************************
           PLUGIN_NAME: CONNECT
        PLUGIN_VERSION: 1.3
         PLUGIN_STATUS: ACTIVE
           PLUGIN_TYPE: STORAGE ENGINE
   PLUGIN_TYPE_VERSION: 100019.0
        PLUGIN_LIBRARY: ha_connect.dll
PLUGIN_LIBRARY_VERSION: 1.8
         PLUGIN_AUTHOR: Olivier Bertrand
    PLUGIN_DESCRIPTION: Management of External Data (SQL/MED), including many file formats
        PLUGIN_LICENSE: GPL
           LOAD_OPTION: ON
       PLUGIN_MATURITY: Beta
   PLUGIN_AUTH_VERSION: 1.03.0006



 Comments   
Comment by Elena Stepanova [ 2015-05-22 ]

It's not a doc bug, but the connect engine bug. The version differs in ha_connect.cc:

...
extern "C" {
       char  version[]= "Version 1.03.0007 April 30, 2015";
#if defined(WIN32)
       char  compver[]= "Version 1.03.0007 " __DATE__ " "  __TIME__;
       char slash= '\\';
...

maria_declare_plugin(connect)
{
  MYSQL_STORAGE_ENGINE_PLUGIN,
  &connect_storage_engine,
  "CONNECT",
  "Olivier Bertrand",
  "Management of External Data (SQL/MED), including many file formats",
  PLUGIN_LICENSE_GPL,
  connect_init_func,                            /* Plugin Init */
  connect_done_func,                            /* Plugin Deinit */
  0x0103,                                       /* version number (1.03) */
  NULL,                                         /* status variables */
  connect_system_variables,                     /* system variables */
  "1.03.0006",                                  /* string version */
  MariaDB_PLUGIN_MATURITY_BETA                  /* maturity */
}
maria_declare_plugin_end;

As a result:

MariaDB [test]> select * from information_schema.plugins where plugin_name = 'CONNECT' \G
*************************** 1. row ***************************
           PLUGIN_NAME: CONNECT
        PLUGIN_VERSION: 1.3
         PLUGIN_STATUS: ACTIVE
           PLUGIN_TYPE: STORAGE ENGINE
   PLUGIN_TYPE_VERSION: 100019.0
        PLUGIN_LIBRARY: ha_connect.so
PLUGIN_LIBRARY_VERSION: 1.8
         PLUGIN_AUTHOR: Olivier Bertrand
    PLUGIN_DESCRIPTION: Management of External Data (SQL/MED), including many file formats
        PLUGIN_LICENSE: GPL
           LOAD_OPTION: ON
       PLUGIN_MATURITY: Beta
   PLUGIN_AUTH_VERSION: 1.03.0006
1 row in set (0.00 sec)

Error log

150522  1:11:10 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.23-72.1 started; log sequence number 1620561
150522  1:11:10 [Note] CONNECT: Version 1.03.0007 April 30, 2015
150522  1:11:10 [Note] Server socket created on IP: '::'.

Comment by Olivier Bertrand [ 2015-05-22 ]

Thanks Elena. I forgot that version should be updated in two different places.

Generated at Thu Feb 08 07:25:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.