~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/srv/srv0start.c

Removed dead variable, sorted authors file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1169
1169
        maximum number of threads that can wait in the 'srv_conc array' for
1170
1170
        their time to enter InnoDB. */
1171
1171
 
 
1172
#if defined(__NETWARE__)
 
1173
 
 
1174
        /* Create less event semaphores because Win 98/ME had
 
1175
        difficulty creating 40000 event semaphores.  Comment from
 
1176
        Novell, Inc.: also, these just take a lot of memory on
 
1177
        NetWare. */
 
1178
        srv_max_n_threads = 1000;
 
1179
#else
1172
1180
        if (srv_pool_size >= 1000 * 1024) {
1173
1181
                /* Here we still have srv_pool_size counted
1174
1182
                in kilobytes (in 4.0 this was in bytes)
1185
1193
                                                especially in 64-bit
1186
1194
                                                computers */
1187
1195
        }
 
1196
#endif
1188
1197
        err = srv_boot(); /* This changes srv_pool_size to units of a page */
1189
1198
 
1190
1199
        if (err != DB_SUCCESS) {
1794
1803
                                /* out: DB_SUCCESS or error code */
1795
1804
{
1796
1805
        ulint   i;
 
1806
#ifdef __NETWARE__
 
1807
        extern ibool panic_shutdown;
 
1808
#endif
1797
1809
        if (!srv_was_started) {
1798
1810
                if (srv_is_being_started) {
1799
1811
                        ut_print_timestamp(stderr);
1822
1834
                        "InnoDB will do a crash recovery!\n");
1823
1835
        }
1824
1836
 
1825
 
        logs_empty_and_mark_files_at_shutdown();
 
1837
#ifdef __NETWARE__
 
1838
        if(!panic_shutdown)
 
1839
#endif
 
1840
                logs_empty_and_mark_files_at_shutdown();
1826
1841
 
1827
1842
        if (srv_conc_n_threads != 0) {
1828
1843
                fprintf(stderr,
1972
1987
        return((int) DB_SUCCESS);
1973
1988
}
1974
1989
 
 
1990
#ifdef __NETWARE__
 
1991
void set_panic_flag_for_netware()
 
1992
{
 
1993
        extern ibool panic_shutdown;
 
1994
        panic_shutdown = TRUE;
 
1995
}
 
1996
#endif /* __NETWARE__ */
1975
1997
#endif /* !UNIV_HOTBACKUP */