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
d3288575
Commit
d3288575
authored
Nov 26, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch for SCO
Update test results for MySQL 4.0
parent
cefe361b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
8 deletions
+40
-8
extra/resolveip.c
extra/resolveip.c
+2
-0
mysql-test/r/backup.result
mysql-test/r/backup.result
+1
-0
mysql-test/r/bdb-crash.result
mysql-test/r/bdb-crash.result
+7
-7
mysql-test/r/bdb-deadlock.result
mysql-test/r/bdb-deadlock.result
+21
-0
mysys/mf_casecnv.c
mysys/mf_casecnv.c
+2
-0
mysys/mf_qsort.c
mysys/mf_qsort.c
+3
-1
mysys/my_compress.c
mysys/my_compress.c
+2
-0
strings/ctype.c
strings/ctype.c
+2
-0
No files found.
extra/resolveip.c
View file @
d3288575
...
@@ -23,7 +23,9 @@
...
@@ -23,7 +23,9 @@
#include <m_ctype.h>
#include <m_ctype.h>
#include <my_net.h>
#include <my_net.h>
#include <my_sys.h>
#include <my_sys.h>
#ifndef SCO
#include <m_string.h>
#include <m_string.h>
#endif
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
#ifndef HAVE_BROKEN_NETINET_INCLUDES
#ifndef HAVE_BROKEN_NETINET_INCLUDES
...
...
mysql-test/r/backup.result
View file @
d3288575
...
@@ -70,3 +70,4 @@ backup table t1 to '../tmp';
...
@@ -70,3 +70,4 @@ backup table t1 to '../tmp';
unlock tables;
unlock tables;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 backup status OK
test.t1 backup status OK
drop table t1;
mysql-test/r/bdb-crash.result
View file @
d3288575
drop table if exists t
blChange
;
drop table if exists t
1
;
CREATE TABLE t
blCharge
(
CREATE TABLE t
1
(
ChargeID int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
ChargeID int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
ServiceID int(10) unsigned DEFAULT '0' NOT NULL,
ServiceID int(10) unsigned DEFAULT '0' NOT NULL,
ChargeDate date DEFAULT '0000-00-00' NOT NULL,
ChargeDate date DEFAULT '0000-00-00' NOT NULL,
...
@@ -16,17 +16,17 @@ KEY ServiceID (ServiceID),
...
@@ -16,17 +16,17 @@ KEY ServiceID (ServiceID),
KEY ChargeDate (ChargeDate)
KEY ChargeDate (ChargeDate)
) type=BDB;
) type=BDB;
BEGIN;
BEGIN;
INSERT INTO t
blCharge
INSERT INTO t
1
VALUES(NULL,1,'2001-03-01',1,1,1,'New',NULL,NULL,'now');
VALUES(NULL,1,'2001-03-01',1,1,1,'New',NULL,NULL,'now');
COMMIT;
COMMIT;
BEGIN;
BEGIN;
UPDATE t
blCharge
SET ChargeAuthorizationMessage = 'blablabla' WHERE
UPDATE t
1
SET ChargeAuthorizationMessage = 'blablabla' WHERE
ChargeID = 1;
ChargeID = 1;
COMMIT;
COMMIT;
INSERT INTO t
blCharge
INSERT INTO t
1
VALUES(NULL,1,'2001-03-01',1,1,1,'New',NULL,NULL,'now');
VALUES(NULL,1,'2001-03-01',1,1,1,'New',NULL,NULL,'now');
select * from t
blCharge
;
select * from t
1
;
ChargeID ServiceID ChargeDate ChargeAmount FedTaxes ProvTaxes ChargeStatus ChargeAuthorizationMessage ChargeComment ChargeTimeStamp
ChargeID ServiceID ChargeDate ChargeAmount FedTaxes ProvTaxes ChargeStatus ChargeAuthorizationMessage ChargeComment ChargeTimeStamp
1 1 2001-03-01 1.00 1.00 1.00 New blablabla NULL now
1 1 2001-03-01 1.00 1.00 1.00 New blablabla NULL now
2 1 2001-03-01 1.00 1.00 1.00 New NULL NULL now
2 1 2001-03-01 1.00 1.00 1.00 New NULL NULL now
drop table t
blCharge
;
drop table t
1
;
mysql-test/r/bdb-deadlock.result
View file @
d3288575
drop table if exists t1,t2;
create table t1 (id integer, x integer) type=BDB;
create table t2 (id integer, x integer) type=BDB;
insert into t1 values(0, 0);
insert into t2 values(0, 0);
set autocommit=0;
update t1 set x = 1 where id = 0;
set autocommit=0;
update t2 set x = 1 where id = 0;
select x from t1 where id = 0;
select x from t2 where id = 0;
Deadlock found when trying to get lock; Try restarting transaction
commit;
x
x
1
1
commit;
select * from t1;
id x
id x
0 1
0 1
select * from t2;
id x
id x
0 1
0 1
commit;
select * from t1;
id x
id x
0 1
0 1
select * from t2;
id x
id x
0 1
0 1
commit;
drop table t1,t2;
mysys/mf_casecnv.c
View file @
d3288575
...
@@ -25,7 +25,9 @@
...
@@ -25,7 +25,9 @@
#include "mysys_priv.h"
#include "mysys_priv.h"
#include <m_ctype.h>
#include <m_ctype.h>
#ifndef SCO
#include <m_string.h>
#include <m_string.h>
#endif
/* string to uppercase */
/* string to uppercase */
...
...
mysys/mf_qsort.c
View file @
d3288575
...
@@ -23,7 +23,9 @@
...
@@ -23,7 +23,9 @@
#include "mysys_priv.h"
#include "mysys_priv.h"
#include "m_string.h"
#ifndef SCO
#include <m_string.h>
#endif
/* We need to use qsort with 2 different compare functions */
/* We need to use qsort with 2 different compare functions */
#ifdef QSORT_EXTRA_CMP_ARGUMENT
#ifdef QSORT_EXTRA_CMP_ARGUMENT
...
...
mysys/my_compress.c
View file @
d3288575
...
@@ -20,7 +20,9 @@
...
@@ -20,7 +20,9 @@
#include <my_global.h>
#include <my_global.h>
#ifdef HAVE_COMPRESS
#ifdef HAVE_COMPRESS
#include <my_sys.h>
#include <my_sys.h>
#ifndef SCO
#include <m_string.h>
#include <m_string.h>
#endif
#include <zlib.h>
#include <zlib.h>
/*
/*
...
...
strings/ctype.c
View file @
d3288575
...
@@ -17,7 +17,9 @@
...
@@ -17,7 +17,9 @@
#include <my_global.h>
#include <my_global.h>
#include <m_ctype.h>
#include <m_ctype.h>
#ifndef SCO
#include <m_string.h>
#include <m_string.h>
#endif
/* generated by make, using conf_to_src */
/* generated by make, using conf_to_src */
#include "ctype_extra_sources.c"
#include "ctype_extra_sources.c"
...
...
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