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
769f45f9
Commit
769f45f9
authored
Apr 22, 2008
by
hhunger@hh-nb.hungers
Browse files
Options
Browse Files
Download
Plain Diff
Merge hh-nb.hungers:/work/trees/mysql-5.1-build-src-clean
into hh-nb.hungers:/work/merge/mysql-5.1-build-repogca
parents
61469fa9
a6ab8d9e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
mysql-test/r/query_cache_wlock_invalidate_func.result
mysql-test/r/query_cache_wlock_invalidate_func.result
+2
-2
mysql-test/r/timestamp_func.result
mysql-test/r/timestamp_func.result
+2
-2
mysql-test/t/innodb_table_locks_func.test
mysql-test/t/innodb_table_locks_func.test
+2
-0
mysql-test/t/query_cache_wlock_invalidate_func.test
mysql-test/t/query_cache_wlock_invalidate_func.test
+1
-1
mysql-test/t/timestamp_func.test
mysql-test/t/timestamp_func.test
+2
-2
No files found.
mysql-test/r/query_cache_wlock_invalidate_func.result
View file @
769f45f9
...
...
@@ -54,7 +54,7 @@ LOCK TABLE t1 WRITE;
SET @startTime = NOW();
SELECT * FROM t1;
SET @endTime = NOW();
SET @TimeDifference = TIME_TO_SEC(TIMEDIFF(@endTime, @startTime));
SET @TimeDifference = TIME_TO_SEC(TIMEDIFF(@endTime, @startTime))
>= 2
;
SELECT @TimeDifference;|
** Connection con0 **
Sleeping 2 Seconds before unlock
...
...
@@ -66,7 +66,7 @@ id value
2 val2
3 val3
@TimeDifference
2
1
Testing for value OFF
** Connection con0 **
SET SESSION query_cache_wlock_invalidate = OFF;
...
...
mysql-test/r/timestamp_func.result
View file @
769f45f9
...
...
@@ -24,10 +24,10 @@ SET @ts_old = @@SESSION.timestamp;
Changing time zone
SET time_zone = 'MET';
SET @ts_new = @@SESSION.timestamp;
SELECT @ts_new - @ts_old AS 'Timestamp Difference';
SELECT @ts_new - @ts_old
>= 1
AS 'Timestamp Difference';
Timestamp Difference
1
1 Expected
>=
1 Expected
** Cleanup **
** Connection default **
Disconnecting Connections con0, con1
mysql-test/t/innodb_table_locks_func.test
View file @
769f45f9
...
...
@@ -19,7 +19,9 @@
# #
###############################################################################
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_innodb
.
inc
--
echo
'#--------------------FN_DYNVARS_048_01-------------------------#'
####################################################################
# Check if setting innodb_table_locks is changed in new connection #
...
...
mysql-test/t/query_cache_wlock_invalidate_func.test
View file @
769f45f9
...
...
@@ -136,7 +136,7 @@ send
SET
@
startTime
=
NOW
();
SELECT
*
FROM
t1
;
SET
@
endTime
=
NOW
();
SET
@
TimeDifference
=
TIME_TO_SEC
(
TIMEDIFF
(
@
endTime
,
@
startTime
));
SET
@
TimeDifference
=
TIME_TO_SEC
(
TIMEDIFF
(
@
endTime
,
@
startTime
))
>=
2
;
SELECT
@
TimeDifference
;
|
delimiter
;
|
...
...
mysql-test/t/timestamp_func.test
View file @
769f45f9
...
...
@@ -64,8 +64,8 @@ SET @ts_old = @@SESSION.timestamp;
--
echo
Changing
time
zone
SET
time_zone
=
'MET'
;
SET
@
ts_new
=
@@
SESSION
.
timestamp
;
SELECT
@
ts_new
-
@
ts_old
AS
'Timestamp Difference'
;
--
echo
1
Expected
SELECT
@
ts_new
-
@
ts_old
>=
1
AS
'Timestamp Difference'
;
--
echo
>=
1
Expected
#
# Cleanup
...
...
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