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
d121c2cd
Commit
d121c2cd
authored
Oct 11, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing files in libmysqld and the RPM spec file
parent
479f494d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
.bzrignore
.bzrignore
+1
-0
Docs/manual.texi
Docs/manual.texi
+6
-0
libmysqld/Makefile.am
libmysqld/Makefile.am
+2
-1
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+3
-3
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+2
-0
No files found.
.bzrignore
View file @
d121c2cd
...
@@ -417,3 +417,4 @@ vio/test-ssl
...
@@ -417,3 +417,4 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslclient
vio/test-sslserver
vio/test-sslserver
vio/viotest-ssl
vio/viotest-ssl
libmysqld/repl_failsafe.cc
Docs/manual.texi
View file @
d121c2cd
...
@@ -3532,12 +3532,18 @@ an application when you delete records from a table that has a foreign key.
...
@@ -3532,12 +3532,18 @@ an application when you delete records from a table that has a foreign key.
In practice this is as quick (in some cases quicker) and much more portable
In practice this is as quick (in some cases quicker) and much more portable
than using foreign keys.
than using foreign keys.
In MySQL 4.0 you can use multi-table delete to delete rows from many
tables with one command. @xref{DELETE}.
In the near future we will extend the @code{FOREIGN KEY} implementation so
In the near future we will extend the @code{FOREIGN KEY} implementation so
that at least the information will be saved in the table specification file
that at least the information will be saved in the table specification file
and may be retrieved by @code{mysqldump} and ODBC. At a later stage we will
and may be retrieved by @code{mysqldump} and ODBC. At a later stage we will
implement the foreign key constraints for application that can't easily be
implement the foreign key constraints for application that can't easily be
coded to avoid them.
coded to avoid them.
MySQL 3.23.44 and forwards, InnoDB tables supports checking of foreign
key constraints. @xref{InnoDB}.
@menu
@menu
* Broken Foreign KEY:: Reasons NOT to use foreign keys constraints
* Broken Foreign KEY:: Reasons NOT to use foreign keys constraints
@end menu
@end menu
libmysqld/Makefile.am
View file @
d121c2cd
...
@@ -45,7 +45,8 @@ sqlsources = convert.cc derror.cc field.cc field_conv.cc filesort.cc \
...
@@ -45,7 +45,8 @@ sqlsources = convert.cc derror.cc field.cc field_conv.cc filesort.cc \
item_func.cc item_strfunc.cc item_sum.cc item_timefunc.cc
\
item_func.cc item_strfunc.cc item_sum.cc item_timefunc.cc
\
item_uniq.cc key.cc lock.cc log.cc log_event.cc
\
item_uniq.cc key.cc lock.cc log.cc log_event.cc
\
mini_client.cc net_pkg.cc net_serv.cc opt_ft.cc opt_range.cc
\
mini_client.cc net_pkg.cc net_serv.cc opt_ft.cc opt_range.cc
\
opt_sum.cc procedure.cc records.cc slave.cc sql_acl.cc
\
opt_sum.cc procedure.cc records.cc sql_acl.cc
\
repl_failsafe.cc slave.cc
\
sql_analyse.cc sql_base.cc sql_cache.cc sql_class.cc
\
sql_analyse.cc sql_base.cc sql_cache.cc sql_class.cc
\
sql_crypt.cc sql_db.cc sql_delete.cc sql_insert.cc sql_lex.cc
\
sql_crypt.cc sql_db.cc sql_delete.cc sql_insert.cc sql_lex.cc
\
sql_list.cc sql_manager.cc sql_map.cc sql_parse.cc
\
sql_list.cc sql_manager.cc sql_map.cc sql_parse.cc
\
...
...
mysql-test/r/innodb.result
View file @
d121c2cd
...
@@ -169,8 +169,8 @@ test.t1 optimize error The handler for the table doesn't support check/repair
...
@@ -169,8 +169,8 @@ test.t1 optimize error The handler for the table doesn't support check/repair
show keys from t1;
show keys from t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
t1 0 PRIMARY 1 id A 2 NULL NULL
t1 0 PRIMARY 1 id A 2 NULL NULL
t1 1 parent_id 1 parent_id A
4
NULL NULL
t1 1 parent_id 1 parent_id A
2
NULL NULL
t1 1 level 1 level A
4
NULL NULL
t1 1 level 1 level A
2
NULL NULL
drop table t1;
drop table t1;
CREATE TABLE t1 (
CREATE TABLE t1 (
gesuchnr int(11) DEFAULT '0' NOT NULL,
gesuchnr int(11) DEFAULT '0' NOT NULL,
...
@@ -211,7 +211,7 @@ Table Op Msg_type Msg_text
...
@@ -211,7 +211,7 @@ Table Op Msg_type Msg_text
test.t1 analyze error The handler for the table doesn't support check/repair
test.t1 analyze error The handler for the table doesn't support check/repair
show keys from t1;
show keys from t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
t1 1 skr 1 a A
3
NULL NULL
t1 1 skr 1 a A
1
NULL NULL
drop table t1;
drop table t1;
create table t1 (a int,b varchar(20),key(a)) type=innodb;
create table t1 (a int,b varchar(20),key(a)) type=innodb;
insert into t1 values (1,""), (2,"testing");
insert into t1 values (1,""), (2,"testing");
...
...
support-files/mysql.spec.sh
View file @
d121c2cd
...
@@ -424,6 +424,8 @@ fi
...
@@ -424,6 +424,8 @@ fi
%attr
(
-, root, root
)
/usr/share/sql-bench
%attr
(
-, root, root
)
/usr/share/sql-bench
%attr
(
-, root, root
)
/usr/share/mysql-test
%attr
(
-, root, root
)
/usr/share/mysql-test
%attr
(
755, root, root
)
/usr/bin/mysqlmanager
%attr
(
755, root, root
)
/usr/bin/mysqlmanager
%attr
(
755, root, root
)
/usr/bin/mysqlmanager-pwgen
%attr
(
755, root, root
)
/usr/bin/mysqlmanagerc
%files Max
%files Max
%attr
(
755, root, root
)
/usr/sbin/mysqld-max
%attr
(
755, root, root
)
/usr/sbin/mysqld-max
...
...
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