到目前为止,我一直在使用 Redgate SQL Prompt。但是我开始了解 ApexSQL Complete,它具有相同的功能并且是免费的!。
有没有人同时使用这两种工具,并且知道 ApexSQL Complete 是否提供 SQL Prompt 的所有功能以及选择 Redgate 而不是 ApexSQL 的任何理由?
我将pro*c代码从UNIX移植到LINUX.代码被成功编译和创建可执行文件.但在运行时它的提升分段错误.我一步一步地调试了代码,下面是GDB调试的输出.
Breakpoint 4 at 0x3b19690f50
(gdb) n
525 strftime (buf, MAX_STRING_LEN, "%d/%b/%Y:%H:%M:%S", dummy_time);
(gdb) n
Breakpoint 4, 0x0000003b19690f50 in strftime () from /lib64/libc.so.6
(gdb) n
Single stepping until exit from function strftime,
which has no line number information.
0x0000003b19690f70 in strftime_l () from /lib64/libc.so.6
(gdb) n
Single stepping until exit from function strftime_l,
which has no line number information.
Program received signal SIGSEGV, Segmentation fault.
0x0000003b19690f8b in strftime_l () from /lib64/libc.so.6
Run Code Online (Sandbox Code Playgroud)
实际上在代码中调用函数strftime().但我不知道为什么它会进入strftime_l()/lib64/libc.so.6.
这个问题不会出现在UNIX中.请帮忙.代码是
static void speed_hack_libs(void) …Run Code Online (Sandbox Code Playgroud)