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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
133a5d17
Commit
133a5d17
authored
May 11, 2006
by
tnurnberg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/mysql-4.1-10418
parents
21f4e8aa
237f4a37
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
4 deletions
+22
-4
mysql-test/r/func_time.result
mysql-test/r/func_time.result
+4
-0
mysql-test/t/func_time.test
mysql-test/t/func_time.test
+7
-0
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
+1
-1
sql/item_timefunc.cc
sql/item_timefunc.cc
+2
-2
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+8
-1
No files found.
mysql-test/r/func_time.result
View file @
133a5d17
...
@@ -626,3 +626,7 @@ last_day('2005-01-00')
...
@@ -626,3 +626,7 @@ last_day('2005-01-00')
NULL
NULL
Warnings:
Warnings:
Warning 1292 Truncated incorrect datetime value: '2005-01-00'
Warning 1292 Truncated incorrect datetime value: '2005-01-00'
select monthname(str_to_date(null, '%m')), monthname(str_to_date(null, '%m')),
monthname(str_to_date(1, '%m')), monthname(str_to_date(0, '%m'));
monthname(str_to_date(null, '%m')) monthname(str_to_date(null, '%m')) monthname(str_to_date(1, '%m')) monthname(str_to_date(0, '%m'))
NULL NULL January NULL
mysql-test/t/func_time.test
View file @
133a5d17
...
@@ -315,4 +315,11 @@ select last_day('2005-00-00');
...
@@ -315,4 +315,11 @@ select last_day('2005-00-00');
select
last_day
(
'2005-00-01'
);
select
last_day
(
'2005-00-01'
);
select
last_day
(
'2005-01-00'
);
select
last_day
(
'2005-01-00'
);
#
# Bug #18501: monthname and NULLs
#
select
monthname
(
str_to_date
(
null
,
'%m'
)),
monthname
(
str_to_date
(
null
,
'%m'
)),
monthname
(
str_to_date
(
1
,
'%m'
)),
monthname
(
str_to_date
(
0
,
'%m'
));
# End of 4.1 tests
# End of 4.1 tests
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
View file @
133a5d17
...
@@ -190,7 +190,7 @@ Dbtc::Dbtc(const class Configuration & conf):
...
@@ -190,7 +190,7 @@ Dbtc::Dbtc(const class Configuration & conf):
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_TRANS_BUFFER_MEM
,
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_TRANS_BUFFER_MEM
,
&
transactionBufferMemory
);
&
transactionBufferMemory
);
ndb_mgm_get_int_parameter
(
p
,
CFG_D
B_NO_UNIQUE_HASH_INDEXES
,
ndb_mgm_get_int_parameter
(
p
,
CFG_D
ICT_TABLE
,
&
maxNoOfIndexes
);
&
maxNoOfIndexes
);
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_NO_INDEX_OPS
,
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_NO_INDEX_OPS
,
&
maxNoOfConcurrentIndexOperations
);
&
maxNoOfConcurrentIndexOperations
);
...
...
sql/item_timefunc.cc
View file @
133a5d17
...
@@ -906,9 +906,9 @@ String* Item_func_monthname::val_str(String* str)
...
@@ -906,9 +906,9 @@ String* Item_func_monthname::val_str(String* str)
{
{
DBUG_ASSERT
(
fixed
==
1
);
DBUG_ASSERT
(
fixed
==
1
);
const
char
*
month_name
;
const
char
*
month_name
;
uint
month
=
(
uint
)
Item_func_month
::
val_int
();
uint
month
=
(
uint
)
val_int
();
if
(
!
month
)
// This is also true for NULL
if
(
null_value
||
!
month
)
{
{
null_value
=
1
;
null_value
=
1
;
return
(
String
*
)
0
;
return
(
String
*
)
0
;
...
...
support-files/mysql.spec.sh
View file @
133a5d17
...
@@ -239,7 +239,6 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -239,7 +239,6 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--with-mysqld-user=%{mysqld_user}
\
--with-mysqld-user=%{mysqld_user}
\
--with-unix-socket-path=/var/lib/mysql/mysql.sock
\
--with-unix-socket-path=/var/lib/mysql/mysql.sock
\
--prefix=/
\
--prefix=/
\
--with-extra-charsets=complex
\
--exec-prefix=%{_exec_prefix}
\
--exec-prefix=%{_exec_prefix}
\
--libexecdir=%{_sbindir}
\
--libexecdir=%{_sbindir}
\
--libdir=%{_libdir}
\
--libdir=%{_libdir}
\
...
@@ -297,6 +296,7 @@ then
...
@@ -297,6 +296,7 @@ then
fi
fi
BuildMySQL
"--enable-shared
\
BuildMySQL
"--enable-shared
\
--with-extra-charsets=all
\
--with-berkeley-db
\
--with-berkeley-db
\
--with-innodb
\
--with-innodb
\
--with-ndbcluster
\
--with-ndbcluster
\
...
@@ -361,6 +361,7 @@ BuildMySQL "--disable-shared \
...
@@ -361,6 +361,7 @@ BuildMySQL "--disable-shared \
%else
%else
--with-zlib-dir=bundled
\
--with-zlib-dir=bundled
\
%endif
%endif
--with-extra-charsets=complex
\
--with-comment=
\"
MySQL Community Edition - Standard (GPL)
\"
\
--with-comment=
\"
MySQL Community Edition - Standard (GPL)
\"
\
--with-server-suffix='%{server_suffix}'
\
--with-server-suffix='%{server_suffix}'
\
--without-embedded-server
\
--without-embedded-server
\
...
@@ -708,6 +709,12 @@ fi
...
@@ -708,6 +709,12 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Wed May 10 2006 Kent Boortz <kent@mysql.com>
- Use character
set
"all"
for
the
"max"
, to make Cluster nodes
independent on the character
set
directory, and the problem that
two RPM sub packages both wants to
install
this directory.
*
Mon May 01 2006 Kent Boortz <kent@mysql.com>
*
Mon May 01 2006 Kent Boortz <kent@mysql.com>
- Use
"./libtool --mode=execute"
instead of searching
for
the
- Use
"./libtool --mode=execute"
instead of searching
for
the
...
...
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