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
2f2e7f8c
Commit
2f2e7f8c
authored
Mar 25, 2018
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings in sphinx
parent
8bb51f61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage/sphinx/snippets_udf.cc
storage/sphinx/snippets_udf.cc
+4
-4
No files found.
storage/sphinx/snippets_udf.cc
View file @
2f2e7f8c
...
...
@@ -178,10 +178,10 @@ enum
SEARCHD_WARNING
=
3
///< general success, warning message and command-specific reply follow
};
#define SPHINXSE_DEFAULT_SCHEME "sphinx"
#define SPHINXSE_DEFAULT_HOST "127.0.0.1"
#define SPHINXSE_DEFAULT_SCHEME
(char*)
"sphinx"
#define SPHINXSE_DEFAULT_HOST
(char*)
"127.0.0.1"
#define SPHINXSE_DEFAULT_PORT 9312
#define SPHINXSE_DEFAULT_INDEX "*"
#define SPHINXSE_DEFAULT_INDEX
(char*)
"*"
class
CSphBuffer
{
...
...
@@ -447,7 +447,7 @@ int CSphUrl::Connect()
uint
uServerVersion
;
uint
uClientVersion
=
htonl
(
SPHINX_SEARCHD_PROTO
);
int
iSocket
=
-
1
;
char
*
pError
=
NULL
;
c
onst
c
har
*
pError
=
NULL
;
do
{
iSocket
=
socket
(
iDomain
,
SOCK_STREAM
,
0
);
...
...
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