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
b9eaaf17
Commit
b9eaaf17
authored
Jan 13, 2001
by
tim@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bdb_version variable, and a new test.
parent
6295e1b1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
mysql-test/r/bdb.result
mysql-test/r/bdb.result
+7
-0
mysql-test/t/bdb.test
mysql-test/t/bdb.test
+10
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-0
No files found.
BitKeeper/etc/logging_ok
View file @
b9eaaf17
jani@hynda.mysql.fi
jani@hynda.mysql.fi
monty@donna.mysql.com
monty@donna.mysql.com
tim@donna.mysql.com
mysql-test/r/bdb.result
View file @
b9eaaf17
...
@@ -406,3 +406,10 @@ a
...
@@ -406,3 +406,10 @@ a
1
1
2
2
3
3
b
this is a blob
b i
this is a blob 1
b i
this is a blob 1
b i
mysql-test/t/bdb.test
View file @
b9eaaf17
...
@@ -334,3 +334,13 @@ CREATE TABLE t1 (a int not null, primary key (a)) type=bdb;
...
@@ -334,3 +334,13 @@ CREATE TABLE t1 (a int not null, primary key (a)) type=bdb;
insert
into
t1
values
(
1
),(
2
),(
3
);
insert
into
t1
values
(
1
),(
2
),(
3
);
select
t1
.
a
from
t1
natural
join
t1
as
t2
order
by
t1
.
a
;
select
t1
.
a
from
t1
natural
join
t1
as
t2
order
by
t1
.
a
;
drop
table
t1
;
drop
table
t1
;
#
# Test key on blob with null values
#
create
table
t1
(
b
blob
,
i
int
,
key
(
b
(
100
)),
key
(
i
),
key
(
i
,
b
(
20
)));
insert
into
t1
values
(
'this is a blob'
,
1
),
(
null
,
-
1
),
(
null
,
null
);
select
b
from
t1
where
b
=
'this is a blob'
;
select
*
from
t1
where
b
like
't%'
;
select
b
,
i
from
t1
where
b
is
not
null
;
select
*
from
t1
where
b
is
null
and
i
>
0
;
sql/mysqld.cc
View file @
b9eaaf17
...
@@ -2634,6 +2634,7 @@ struct show_var_st init_vars[]= {
...
@@ -2634,6 +2634,7 @@ struct show_var_st init_vars[]= {
{
"bdb_logdir"
,
(
char
*
)
&
berkeley_logdir
,
SHOW_CHAR_PTR
},
{
"bdb_logdir"
,
(
char
*
)
&
berkeley_logdir
,
SHOW_CHAR_PTR
},
{
"bdb_shared_data"
,
(
char
*
)
&
berkeley_shared_data
,
SHOW_BOOL
},
{
"bdb_shared_data"
,
(
char
*
)
&
berkeley_shared_data
,
SHOW_BOOL
},
{
"bdb_tmpdir"
,
(
char
*
)
&
berkeley_tmpdir
,
SHOW_CHAR_PTR
},
{
"bdb_tmpdir"
,
(
char
*
)
&
berkeley_tmpdir
,
SHOW_CHAR_PTR
},
{
"bdb_version"
,
(
char
*
)
DB_VERSION_STRING
,
SHOW_CHAR
},
#endif
#endif
{
"binlog_cache_size"
,
(
char
*
)
&
binlog_cache_size
,
SHOW_LONG
},
{
"binlog_cache_size"
,
(
char
*
)
&
binlog_cache_size
,
SHOW_LONG
},
{
"character_set"
,
default_charset
,
SHOW_CHAR
},
{
"character_set"
,
default_charset
,
SHOW_CHAR
},
...
...
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