Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
77997821
Commit
77997821
authored
Oct 10, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Data type plugins - minor fixes
typos, comments
parent
82b62924
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
28 additions
and
20 deletions
+28
-20
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+0
-1
plugin/func_test/plugin.cc
plugin/func_test/plugin.cc
+2
-3
plugin/locale_info/locale_info.cc
plugin/locale_info/locale_info.cc
+1
-1
plugin/type_geom/plugin.cc
plugin/type_geom/plugin.cc
+2
-2
plugin/type_inet/CMakeLists.txt
plugin/type_inet/CMakeLists.txt
+1
-1
plugin/type_inet/mysql-test/type_inet/suite.pm
plugin/type_inet/mysql-test/type_inet/suite.pm
+9
-0
plugin/type_inet/plugin.cc
plugin/type_inet/plugin.cc
+1
-3
plugin/type_test/CMakeLists.txt
plugin/type_test/CMakeLists.txt
+1
-1
plugin/type_test/mysql-test/type_test/type_test_double-debug.test
...ype_test/mysql-test/type_test/type_test_double-debug.test
+2
-2
plugin/type_test/mysql-test/type_test/type_test_int8-debug.test
.../type_test/mysql-test/type_test/type_test_int8-debug.test
+2
-2
plugin/type_test/mysql-test/type_test/type_test_mysql.test
plugin/type_test/mysql-test/type_test/type_test_mysql.test
+4
-0
plugin/type_test/plugin.cc
plugin/type_test/plugin.cc
+3
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
77997821
...
...
@@ -203,7 +203,6 @@ my @DEFAULT_SUITES= qw(
rpl-
sys_vars-
sql_sequence-
type_inet-
unit-
vcol-
versioning-
...
...
plugin/func_test/plugin.cc
View file @
77997821
/*
Copyright (c) 2000, 2015, Oracle and/or its affiliates.
Copyright (c) 2009, 2019, MariaDB
Copyright (c) 2019, MariaDB Corporation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -79,7 +78,7 @@ maria_declare_plugin(type_test)
PLUGIN_LICENSE_GPL
,
// the plugin license (see include/mysql/plugin.h)
0
,
// Pointer to plugin initialization function
0
,
// Pointer to plugin deinitialization function
0x0100
,
// Numeric version 0xAABB means AA.BB ver
ios
n
0x0100
,
// Numeric version 0xAABB means AA.BB ver
sio
n
NULL
,
// Status variables
NULL
,
// System variables
"1.0"
,
// String version representation
...
...
plugin/locale_info/locale_info.cc
View file @
77997821
...
...
@@ -118,7 +118,7 @@ maria_declare_plugin(locales)
PLUGIN_LICENSE_BSD
,
/* the plugin license (see include/mysql/plugin.h) */
locale_info_plugin_init_locales
,
/* Pointer to plugin initialization function */
0
,
/* Pointer to plugin deinitialization function */
0x0100
,
/* Numeric version 0xAABB means AA.BB ver
ios
n */
0x0100
,
/* Numeric version 0xAABB means AA.BB ver
sio
n */
NULL
,
/* Status variables */
NULL
,
/* System variables */
"1.0"
,
/* String version representation */
...
...
plugin/type_geom/plugin.cc
View file @
77997821
...
...
@@ -230,7 +230,7 @@ maria_declare_plugin(type_geom)
PLUGIN_LICENSE_GPL
,
// the plugin license (see include/mysql/plugin.h)
Show
::
plugin_init_spatial_ref_sys
,
// Pointer to plugin initialization function
0
,
// Pointer to plugin deinitialization function
0x0100
,
// Numeric version 0xAABB means AA.BB ver
ios
n
0x0100
,
// Numeric version 0xAABB means AA.BB ver
sio
n
NULL
,
// Status variables
NULL
,
// System variables
"1.0"
,
// String version representation
...
...
@@ -245,7 +245,7 @@ maria_declare_plugin(type_geom)
PLUGIN_LICENSE_GPL
,
// the plugin license (see include/mysql/plugin.h)
Show
::
plugin_init_geometry_columns
,
// Pointer to plugin initialization function
0
,
// Pointer to plugin deinitialization function
0x0100
,
// Numeric version 0xAABB means AA.BB ver
ios
n
0x0100
,
// Numeric version 0xAABB means AA.BB ver
sio
n
NULL
,
// Status variables
NULL
,
// System variables
"1.0"
,
// String version representation
...
...
plugin/type_inet/CMakeLists.txt
View file @
77997821
# Copyright (c) 201
6-2019, MariaDB corporation. All rights reserved
.
# Copyright (c) 201
9, MariaDB corporation
.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
plugin/type_inet/mysql-test/type_inet/suite.pm
0 → 100644
View file @
77997821
package
My::Suite::
Type_inet
;
@ISA
=
qw(My::Suite)
;
#return "No inet6 plugin" unless $::mysqld_variables{'inet6'} eq "ON";
sub
is_default
{
1
}
bless
{
};
plugin/type_inet/plugin.cc
View file @
77997821
/* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2014 MariaDB Foundation
Copyright (c) 2019 MariaDB Corporation
/* Copyright (c) 2019 MariaDB Corporation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
plugin/type_test/CMakeLists.txt
View file @
77997821
# Copyright (c) 201
6, MariaDB corporation. All rights reserved.
# Copyright (c) 201
9, MariaDB corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
plugin/type_test/mysql-test/type_test/type_test_double-debug.test
View file @
77997821
...
...
@@ -9,11 +9,11 @@
SET
@
old_debug_dbug
=@@
debug_dbug
;
SET
@@
debug_dbug
=
"+d,frm_data_type_info"
;
--
disable_ps_protocol
CREATE
TABLE
t1
(
a
TEST_DOUBLE
);
--
enable_prepare_warnings
SHOW
CREATE
TABLE
t1
;
--
disable_prepare_warnings
DROP
TABLE
t1
;
--
enable_ps_protocol
SET
@@
debug_dbug
=@
old_debug_dbug
;
...
...
plugin/type_test/mysql-test/type_test/type_test_int8-debug.test
View file @
77997821
...
...
@@ -9,11 +9,11 @@
SET
@
old_debug_dbug
=@@
debug_dbug
;
SET
@@
debug_dbug
=
"+d,frm_data_type_info"
;
--
disable_ps_protocol
CREATE
TABLE
t1
(
a
TEST_INT8
);
--
enable_prepare_warnings
SHOW
CREATE
TABLE
t1
;
--
disable_prepare_warnings
DROP
TABLE
t1
;
--
enable_ps_protocol
SET
@@
debug_dbug
=@
old_debug_dbug
;
...
...
plugin/type_test/mysql-test/type_test/type_test_mysql.test
View file @
77997821
...
...
@@ -2,5 +2,9 @@
--
source
include
/
not_embedded
.
inc
CREATE
TABLE
t1
(
a
TEST_INT8
,
b
TEST_DOUBLE
);
#
# doesn't report the correct type name yet
# to be fixed
#
--
exec
$MYSQL
-
t
test
--
column
-
type
-
info
-
e
"SELECT * FROM t1"
2
>&
1
DROP
TABLE
t1
;
plugin/type_test/plugin.cc
View file @
77997821
/*
Copyright (c) 2000, 2015, Oracle and/or its affiliates.
Copyright (c) 2009, 2019, MariaDB
Copyright (c) 2019, MariaDB Corporation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -309,7 +308,7 @@ maria_declare_plugin(type_test)
PLUGIN_LICENSE_GPL
,
// the plugin license (see include/mysql/plugin.h)
0
,
// Pointer to plugin initialization function
0
,
// Pointer to plugin deinitialization function
0x0100
,
// Numeric version 0xAABB means AA.BB ver
ios
n
0x0100
,
// Numeric version 0xAABB means AA.BB ver
sio
n
NULL
,
// Status variables
NULL
,
// System variables
"1.0"
,
// String version representation
...
...
@@ -324,7 +323,7 @@ maria_declare_plugin(type_test)
PLUGIN_LICENSE_GPL
,
// the plugin license (see include/mysql/plugin.h)
0
,
// Pointer to plugin initialization function
0
,
// Pointer to plugin deinitialization function
0x0100
,
// Numeric version 0xAABB means AA.BB ver
ios
n
0x0100
,
// Numeric version 0xAABB means AA.BB ver
sio
n
NULL
,
// Status variables
NULL
,
// System variables
"1.0"
,
// String version representation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment