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
bd35c068
Commit
bd35c068
authored
Feb 01, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
parents
552656c3
6d862d0f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
sql/sql_acl.h
sql/sql_acl.h
+1
-0
sql/sql_class.cc
sql/sql_class.cc
+1
-0
sql/structs.h
sql/structs.h
+8
-0
No files found.
sql/sql_acl.h
View file @
bd35c068
...
@@ -82,3 +82,4 @@ bool check_grant_db(THD *thd,const char *db);
...
@@ -82,3 +82,4 @@ bool check_grant_db(THD *thd,const char *db);
uint
get_table_grant
(
THD
*
thd
,
TABLE_LIST
*
table
);
uint
get_table_grant
(
THD
*
thd
,
TABLE_LIST
*
table
);
uint
get_column_grant
(
THD
*
thd
,
TABLE_LIST
*
table
,
Field
*
field
);
uint
get_column_grant
(
THD
*
thd
,
TABLE_LIST
*
table
,
Field
*
field
);
int
mysql_show_grants
(
THD
*
thd
,
LEX_USER
*
user
);
int
mysql_show_grants
(
THD
*
thd
,
LEX_USER
*
user
);
uint
get_mqh
(
const
char
*
user
,
const
char
*
host
);
sql/sql_class.cc
View file @
bd35c068
...
@@ -141,6 +141,7 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
...
@@ -141,6 +141,7 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
(
void
(
*
)(
void
*
))
free_var
,
0
);
(
void
(
*
)(
void
*
))
free_var
,
0
);
#ifdef USING_TRANSACTIONS
#ifdef USING_TRANSACTIONS
bzero
((
char
*
)
&
transaction
,
sizeof
(
transaction
));
bzero
((
char
*
)
&
transaction
,
sizeof
(
transaction
));
user_connect
=
(
UC
*
)
0
;
if
(
opt_using_transactions
)
if
(
opt_using_transactions
)
{
{
if
(
open_cached_file
(
&
transaction
.
trans_log
,
if
(
open_cached_file
(
&
transaction
.
trans_log
,
...
...
sql/structs.h
View file @
bd35c068
...
@@ -160,6 +160,14 @@ typedef struct st_lex_user {
...
@@ -160,6 +160,14 @@ typedef struct st_lex_user {
LEX_STRING
user
,
host
,
password
;
LEX_STRING
user
,
host
,
password
;
}
LEX_USER
;
}
LEX_USER
;
typedef
struct
user_conn
{
char
*
user
;
uint
len
,
connections
,
questions
,
max_questions
;
time_t
intime
;
}
UC
;
/* Bits in form->update */
/* Bits in form->update */
#define REG_MAKE_DUPP 1
/* Make a copy of record when read */
#define REG_MAKE_DUPP 1
/* Make a copy of record when read */
#define REG_NEW_RECORD 2
/* Write a new record if not found */
#define REG_NEW_RECORD 2
/* Write a new record if not found */
...
...
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