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
ce6d6063
Commit
ce6d6063
authored
Apr 11, 2001
by
jani@hynda.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in pager, + added a feature to it.
parent
4709a172
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-1
client/mysql.cc
client/mysql.cc
+12
-2
No files found.
BitKeeper/etc/logging_ok
View file @
ce6d6063
heikki@donn
a.mysql.fi
jani@hynd
a.mysql.fi
client/mysql.cc
View file @
ce6d6063
...
...
@@ -39,7 +39,7 @@
#include "my_readline.h"
#include <signal.h>
const
char
*
VER
=
"11.1
3
"
;
const
char
*
VER
=
"11.1
4
"
;
/* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024
...
...
@@ -592,7 +592,16 @@ static int get_options(int argc, char **argv)
if
(
optarg
)
strmov
(
pager
,
optarg
);
else
strmov
(
pager
,
(
char
*
)
getenv
(
"PAGER"
));
{
char
*
pagpoint
=
getenv
(
"PAGER"
);
if
(
!
((
char
*
)
(
pagpoint
)))
{
strmov
(
pager
,
"stdout"
);
opt_nopager
=
1
;
}
else
strmov
(
pager
,
pagpoint
);
}
strmov
(
default_pager
,
pager
);
break
;
case
OPT_NOPAGER
:
...
...
@@ -1823,6 +1832,7 @@ com_pager(String *buffer, char *line __attribute__((unused)))
end
--
;
end
[
0
]
=
0
;
strmov
(
pager
,
pager_name
);
strmov
(
default_pager
,
pager_name
);
}
opt_nopager
=
0
;
tee_fprintf
(
stdout
,
"PAGER set to %s
\n
"
,
pager
);
...
...
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