Someone please check me on this

If a plugin needs an additional table which I need it to be global...

These lines should work, right?

In the plugin: $table_name = $wpdb->prefix . "loginlog";

In the db-config.php file: add_global_table('loginlog');

I added in some echos into the pluging and the database table being returned is: wp_1_loginlog

Which means it's not seeing it as a global.

I'm tempted to hardcode.