Where can I find parser.yy, I think there's a bug in the current parser.cc related to config_strings
UPDATE:
Really looks like a bug in parser.cc, replacing "yyvsp[
Where can I find parser.yy??
Thanks!
-------
I think something is wrong with the config_string parser, but I can't seem to find parser.yy in the source, only the generated output of yacc, which is not really useful. It looks like it defaults to the default port for each server added.
Compiling the below attached code
g++ -ggdb -I /opt/memcached/
And running:
gdb ./a.out
break sleep
run
fr 1
print memc_connection
print memc_connection
Will show the port is set to the default port 11211, it looks like the parser is ignoring the additionally specified port. Is the parser/lexer source available somewhere?
Using the latest checkout (bzr branch lp:libmemcached)
#include <libmemcached/
#include <libmemcached/
#include <stdio.h>
#include <unistd.h>
int main(int argc , char **argv)
{
// Servers to connect to
const char *config_string = "--server=
// Create a memcached connection pool
memcached_
sleep(1);
// Cleanup
memcached_
return 0;
}
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Cor Cornelisse for more information if necessary.