Commented out dependency on session_t (for now)

This commit is contained in:
John Wiegley 2009-10-31 17:54:40 -04:00
parent 3adfaf0eaa
commit ead642c7fa

View file

@ -486,6 +486,7 @@ void instance_t::option_directive(char * line)
*p++ = '\0'; *p++ = '\0';
} }
#if 0
if (! process_option(pathname.string(), line + 2, scope, p, line) && if (! process_option(pathname.string(), line + 2, scope, p, line) &&
! dynamic_cast<session_t *>(&scope)) { ! dynamic_cast<session_t *>(&scope)) {
if (std::strlen(line + 2) == 1) if (std::strlen(line + 2) == 1)
@ -493,6 +494,9 @@ void instance_t::option_directive(char * line)
else else
throw_(option_error, _("Illegal option --%1") << line + 2); throw_(option_error, _("Illegal option --%1") << line + 2);
} }
#else
process_option(pathname.string(), line + 2, scope, p, line);
#endif
} }
void instance_t::automated_xact_directive(char * line) void instance_t::automated_xact_directive(char * line)