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
ea979be6
Commit
ea979be6
authored
Dec 07, 2000
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation bugs
Docs/manual.texi: Updated nodes sql/ha_berkeley.cc: Don't count deletes
parent
22ad54ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
79 deletions
+87
-79
Docs/manual.texi
Docs/manual.texi
+85
-79
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+2
-0
No files found.
Docs/manual.texi
View file @
ea979be6
...
@@ -584,11 +584,11 @@ System/Compile Time and Startup Parameter Tuning
...
@@ -584,11 +584,11 @@ System/Compile Time and Startup Parameter Tuning
* Internal locking:: How MySQL locks tables
* Internal locking:: How MySQL locks tables
* Table locking:: Table locking issues
* Table locking:: Table locking issues
Disk
i
ssues
Disk
I
ssues
* Symbolic links:: Using symbolic links for databases and tables
* Symbolic links:: Using symbolic links for databases and tables
Speed of
queries that access or update d
ata
Speed of
Queries that Access or Update D
ata
* Estimating performance:: Estimating query performance
* Estimating performance:: Estimating query performance
* SELECT speed:: Speed of @code{SELECT} queries
* SELECT speed:: Speed of @code{SELECT} queries
...
@@ -604,14 +604,16 @@ MySQL Utilites
...
@@ -604,14 +604,16 @@ MySQL Utilites
* Programs:: What do the executables do?
* Programs:: What do the executables do?
* safe_mysqld::
* safe_mysqld::
* mysql_multi_mysqld:: Program for managing multiple @strong{MySQL} servers
* mysql:: The command line tool
* mysql:: The command line tool
* mysqladmin:: Administering a @strong{MySQL} server
* mysqladmin:: Administering a @strong{MySQL} server
* mysqldump:: Dumping the structure and data from @strong{MySQL} databases and tables
* mysqldump:: Dumping the structure and data from @strong{MySQL} databases and tables
* mysqlimport:: Importing data from text files
* mysqlimport:: Importing data from text files
* perror:: Displaying error messages
* mysqlshow:: Showing databases, tables and columns
* mysqlshow:: Showing databases, tables and columns
* myisampack:: The @strong{MySQL} compressed read-only table generator
* myisampack:: The @strong{MySQL} compressed read-only table generator
Maintaining a MySQL
i
nstallation
Maintaining a MySQL
I
nstallation
* Table maintenance:: Table maintenance and crash recovery
* Table maintenance:: Table maintenance and crash recovery
* Maintenance regimen:: Setting up a table maintenance regimen
* Maintenance regimen:: Setting up a table maintenance regimen
...
@@ -619,37 +621,37 @@ Maintaining a MySQL installation
...
@@ -619,37 +621,37 @@ Maintaining a MySQL installation
* Crash recovery:: Using @code{myisamchk} for crash recovery
* Crash recovery:: Using @code{myisamchk} for crash recovery
* Log files:: Log file maintenance
* Log files:: Log file maintenance
Using @code{myisamchk} for
table maintenance and crash r
ecovery
Using @code{myisamchk} for
Table Maintenance and Crash R
ecovery
* myisamchk syntax:: @code{myisamchk} invocation syntax
* myisamchk syntax:: @code{myisamchk} invocation syntax
* myisamchk memory:: @code{myisamchk} memory usage
* myisamchk memory:: @code{myisamchk} memory usage
@code{myisamchk}
invocation s
yntax
@code{myisamchk}
Invocation S
yntax
* myisamchk general options::
* myisamchk general options::
* myisamchk check options::
* myisamchk check options::
* myisamchk repair options::
* myisamchk repair options::
* myisamchk other options::
* myisamchk other options::
Using @code{myisamchk} for
crash r
ecovery
Using @code{myisamchk} for
Crash R
ecovery
* Check:: How to check tables for errors
* Check:: How to check tables for errors
* Repair:: How to repair tables
* Repair:: How to repair tables
* Optimization:: Table optimization
* Optimization:: Table optimization
Adding
new f
unctions to MySQL
Adding
New F
unctions to MySQL
* Adding UDF:: Adding a new user-definable function
* Adding UDF:: Adding a new user-definable function
* Adding native function:: Adding a new native function
* Adding native function:: Adding a new native function
Adding a
new user-definable f
unction
Adding a
New User-definable F
unction
* UDF calling sequences:: UDF calling sequences
* UDF calling sequences:: UDF calling sequences
* UDF arguments:: Argument processing
* UDF arguments:: Argument processing
* UDF return values:: Return values and error handling
* UDF return values:: Return values and error handling
* UDF compiling:: Compiling and installing user-definable functions
* UDF compiling:: Compiling and installing user-definable functions
Adding
new p
rocedures to MySQL
Adding
New P
rocedures to MySQL
* procedure analyse:: Procedure analyse
* procedure analyse:: Procedure analyse
* Writing a procedure:: Writing a procedure.
* Writing a procedure:: Writing a procedure.
...
@@ -663,11 +665,11 @@ MySQL ODBC Support
...
@@ -663,11 +665,11 @@ MySQL ODBC Support
* ODBC and last_insert_id:: How to get the value of an @code{AUTO_INCREMENT} column in ODBC
* ODBC and last_insert_id:: How to get the value of an @code{AUTO_INCREMENT} column in ODBC
* MyODBC bug report:: Reporting problems with MyODBC
* MyODBC bug report:: Reporting problems with MyODBC
Using MySQL with
some common p
rograms
Using MySQL with
Some Common P
rograms
* Apache:: Using @strong{MySQL} with Apache
* Apache:: Using @strong{MySQL} with Apache
Problems and
common e
rrors
Problems and
Common E
rrors
* What is crashing:: How to determine what is causing problems
* What is crashing:: How to determine what is causing problems
* Crashing:: What to do if @strong{MySQL} keeps crashing
* Crashing:: What to do if @strong{MySQL} keeps crashing
...
@@ -692,7 +694,7 @@ Problems and common errors
...
@@ -692,7 +694,7 @@ Problems and common errors
* ALTER TABLE problems:: Problems with @code{ALTER TABLE}.
* ALTER TABLE problems:: Problems with @code{ALTER TABLE}.
* Change column order:: How to change the order of columns in a table
* Change column order:: How to change the order of columns in a table
Some
common errors when u
sing MySQL
Some
Common Errors When U
sing MySQL
* Gone away:: @code{MySQL server has gone away} error
* Gone away:: @code{MySQL server has gone away} error
* Can not connect to server:: @code{Can't connect to [local] MySQL server} error
* Can not connect to server:: @code{Can't connect to [local] MySQL server} error
...
@@ -707,16 +709,16 @@ Some common errors when using MySQL
...
@@ -707,16 +709,16 @@ Some common errors when using MySQL
* Ignoring user:: @code{Ignoring user} error
* Ignoring user:: @code{Ignoring user} error
* Cannot find table:: @code{Table 'xxx' doesn't exist} error
* Cannot find table:: @code{Table 'xxx' doesn't exist} error
Solving
some common p
roblems with MySQL
Solving
Some Common P
roblems with MySQL
* Log Replication:: Database replication with update log
* Log Replication:: Database replication with update log
* Backup:: Database backups
* Backup:: Database backups
* Update log:: The update log
* Update log:: The update log
* Binary log::
The binary log
* Binary log::
* Slow query log:: Log of slow queries
* Slow query log:: Log of slow queries
* Multiple servers:: Running multiple @strong{MySQL} servers on the same machine
* Multiple servers:: Running multiple @strong{MySQL} servers on the same machine
MySQL
client t
ools and APIs
MySQL
Client T
ools and APIs
* C:: @strong{MySQL} C API
* C:: @strong{MySQL} C API
* C API datatypes:: C API datatypes
* C API datatypes:: C API datatypes
...
@@ -730,7 +732,7 @@ MySQL client tools and APIs
...
@@ -730,7 +732,7 @@ MySQL client tools and APIs
* Python:: @strong{MySQL} Python APIs
* Python:: @strong{MySQL} Python APIs
* Tcl:: @strong{MySQL} Tcl APIs
* Tcl:: @strong{MySQL} Tcl APIs
C API
function d
escriptions
C API
Function D
escriptions
* mysql_affected_rows:: @code{mysql_affected_rows()}
* mysql_affected_rows:: @code{mysql_affected_rows()}
* mysql_close:: @code{mysql_close()}
* mysql_close:: @code{mysql_close()}
...
@@ -800,22 +802,26 @@ MySQL PHP API
...
@@ -800,22 +802,26 @@ MySQL PHP API
* PHP problems:: Common problems with MySQL and PHP
* PHP problems:: Common problems with MySQL and PHP
How MySQL
compares to other d
atabases
How MySQL
Compares to Other D
atabases
* Compare mSQL:: How @strong{MySQL} compares to @code{mSQL}
* Compare mSQL:: How @strong{MySQL} compares to @code{mSQL}
* Compare PostgreSQL:: How @strong{MySQL} compares with PostgreSQL
* Compare PostgreSQL:: How @strong{MySQL} compares with PostgreSQL
How MySQL
c
ompares to @code{mSQL}
How MySQL
C
ompares to @code{mSQL}
* Using mSQL tools:: How to convert @code{mSQL} tools for @strong{MySQL}
* Using mSQL tools:: How to convert @code{mSQL} tools for @strong{MySQL}
* Protocol differences:: How @code{mSQL} and @strong{MySQL} client/server communications protocols differ
* Protocol differences:: How @code{mSQL} and @strong{MySQL} client/server communications protocols differ
* Syntax differences:: How @code{mSQL} 2.0 SQL syntax differs from @strong{MySQL}
* Syntax differences:: How @code{mSQL} 2.0 SQL syntax differs from @strong{MySQL}
MySQL
i
nternals
MySQL
I
nternals
* MySQL threads:: MySQL threads
* MySQL threads:: MySQL threads
* MySQL full-text search:: MySQL full-text search
* MySQL full-text search:: MySQL full-text search
MySQL Full-text Search
* Fine-tuning::
Credits
Credits
* Developers::
* Developers::
...
@@ -964,7 +970,7 @@ Changes in release 3.19.x
...
@@ -964,7 +970,7 @@ Changes in release 3.19.x
MySQL and the future (The TODO)
MySQL and the future (The TODO)
* TODO MySQL 4.0:: Things that should be in 4.0
* TODO MySQL 4.0:: Things that should be in
Version
4.0
* TODO future:: Things that must be done in the near future
* TODO future:: Things that must be done in the near future
* TODO sometime:: Things that have to be done sometime
* TODO sometime:: Things that have to be done sometime
* TODO unplanned:: Some things we don't have any plans to do
* TODO unplanned:: Some things we don't have any plans to do
...
@@ -28095,8 +28101,8 @@ How big a @code{VARCHAR} column can be
...
@@ -28095,8 +28101,8 @@ How big a @code{VARCHAR} column can be
* mysqladmin:: Administering a @strong{MySQL} server
* mysqladmin:: Administering a @strong{MySQL} server
* mysqldump:: Dumping the structure and data from @strong{MySQL} databases and tables
* mysqldump:: Dumping the structure and data from @strong{MySQL} databases and tables
* mysqlimport:: Importing data from text files
* mysqlimport:: Importing data from text files
* mysqlshow:: Showing databases, tables and columns
* perror:: Displaying error messages
* perror:: Displaying error messages
* mysqlshow:: Showing databases, tables and columns
* myisampack:: The @strong{MySQL} compressed read-only table generator
* myisampack:: The @strong{MySQL} compressed read-only table generator
@end menu
@end menu
...
@@ -37802,8 +37808,7 @@ and searching. Full-text index in @strong{MySQL} is an
...
@@ -37802,8 +37808,7 @@ and searching. Full-text index in @strong{MySQL} is an
index of type @code{FULLTEXT}. @code{FULLTEXT} indexes can be created from
index of type @code{FULLTEXT}. @code{FULLTEXT} indexes can be created from
@code{VARCHAR} and @code{TEXT} columns at @code{CREATE TABLE} time or added
@code{VARCHAR} and @code{TEXT} columns at @code{CREATE TABLE} time or added
later with @code{ALTER TABLE} or @code{CREATE INDEX}. Full-text search is
later with @code{ALTER TABLE} or @code{CREATE INDEX}. Full-text search is
performed with the @code{MATCH}
performed with the @code{MATCH} function:
function:
@example
@example
mysql> CREATE TABLE t (a VARCHAR(200), b TEXT, FULLTEXT (a,b));
mysql> CREATE TABLE t (a VARCHAR(200), b TEXT, FULLTEXT (a,b));
...
@@ -37887,7 +37892,8 @@ particular dataset}.
...
@@ -37887,7 +37892,8 @@ particular dataset}.
* Fine-tuning::
* Fine-tuning::
@end menu
@end menu
@node Fine-tuning, Environment variables, MySQL internals, Top
@node Fine-tuning, , MySQL full-text search, MySQL full-text search
@subsection Fine-tuning MySQL Full-text Search
Unfortunately, full-text search has no user-tunable parameters yet
Unfortunately, full-text search has no user-tunable parameters yet
(but adding some is very high in our TODO). But if one has @strong{MySQL}
(but adding some is very high in our TODO). But if one has @strong{MySQL}
...
@@ -39555,7 +39561,7 @@ though, so Version 3.23 is not released as a stable version yet.
...
@@ -39555,7 +39561,7 @@ though, so Version 3.23 is not released as a stable version yet.
@item
@item
Fixed a bug with @code{HEAP} type tables; the variable
Fixed a bug with @code{HEAP} type tables; the variable
@code{max_heap_table_size} wasn't used. Now either @code{MAX_ROWS} or
@code{max_heap_table_size} wasn't used. Now either @code{MAX_ROWS} or
@code
[
max_heap_table_size} can be used to limit the size of a @code{HEAP}
@code
{
max_heap_table_size} can be used to limit the size of a @code{HEAP}
type table.
type table.
@item
@item
Renamed variable @code{bdb_lock_max} to @code{bdb_max_lock}.
Renamed variable @code{bdb_lock_max} to @code{bdb_max_lock}.
sql/ha_berkeley.cc
View file @
ea979be6
...
@@ -1090,8 +1090,10 @@ int ha_berkeley::delete_row(const byte * record)
...
@@ -1090,8 +1090,10 @@ int ha_berkeley::delete_row(const byte * record)
if
(
error
!=
DB_LOCK_DEADLOCK
)
if
(
error
!=
DB_LOCK_DEADLOCK
)
break
;
break
;
}
}
#ifdef CANT_COUNT_DELETED_ROWS
if
(
!
error
)
if
(
!
error
)
changed_rows
--
;
changed_rows
--
;
#endif
DBUG_RETURN
(
error
);
DBUG_RETURN
(
error
);
}
}
...
...
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