Skip to content

Moves various things to the new DBCore#21544

Open
Arrow768 wants to merge 1 commit intoAurorastation:masterfrom
Arrow768:2025-11-03-dbcore-minor-stuff
Open

Moves various things to the new DBCore#21544
Arrow768 wants to merge 1 commit intoAurorastation:masterfrom
Arrow768:2025-11-03-dbcore-minor-stuff

Conversation

@Arrow768
Copy link
Member

@Arrow768 Arrow768 commented Nov 3, 2025

- server: "Changed the synthsprites to use the new DBCore"
- server: "Changed the MalfAI to use the new DBCore"
- server: "Changed the Alien Whitelists to use the new DBCore"
- server: "Changed the Requests Console to use the new DBCore"
- server: "Changed the Contracts Uplink to use the new DBCore"
- server: "Changed the Admin Ranks to use the new DBCore"
- server: "Changed the Job Bans to use the new DBCore"
- server: "Changed the Tickets to use the new DBCore"
- server: "Changed the Create Command Report to use the new DBCore"
- server: "Changed the WebInterface interconnect to use the new DBCore"
- server: "Changed the CCIA Recorder to use the new DBCore"
- server: "Changed the IPCTags to use the new DBCore"
- server: "Changed the Main Menu Poll-Check to use the new DBCore"
- server: "Changed the Client-Procs to use the new DBCore"

```
- server: "Changed the synthsprites to use the new DBCore"
- server: "Changed the MalfAI to use the new DBCore"
- server: "Changed the Alien Whitelists to use the new DBCore"
- server: "Changed the Requests Console to use the new DBCore"
- server: "Changed the Contracts Uplink to use the new DBCore"
- server: "Changed the Admin Ranks to use the new DBCore"
- server: "Changed the Job Bans to use the new DBCore"
- server: "Changed the Tickets to use the new DBCore"
- server: "Changed the Create Command Report to use the new DBCore"
- server: "Changed the WebInterface interconnect to use the new DBCore"
- server: "Changed the CCIA Recorder to use the new DBCore"
- server: "Changed the IPCTags to use the new DBCore"
- server: "Changed the Main Menu Poll-Check to use the new DBCore"
- server: "Changed the Client-Procs to use the new DBCore"
```
return

var/DBQuery/Q = GLOB.dbcon.NewQuery({"INSERT INTO ss13_tickets
var/datum/db_query/query = SSdbcore.NewQuery({"INSERT INTO ss13_tickets
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing qdel of query, but I assume that's fine due to allow_during_shutdown=true?

@@ -165,22 +165,24 @@ GLOBAL_LIST_EMPTY(ticket_panels)
if (!establish_db_connection(GLOB.dbcon))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SSdbcore.Connect()

@@ -62,12 +62,13 @@
if(GLOB.config.sql_ccia_logs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

&& SSdbcore.Connect()

return

var/DBQuery/query = GLOB.dbcon.NewQuery("SELECT datediff(Now(),firstseen) as age, whitelist_status, account_join_date, DATEDIFF(NOW(), account_join_date), ckey_is_external FROM ss13_player WHERE ckey = :ckey:")
var/datum/db_query/query = SSdbcore.NewQuery("SELECT datediff(Now(),firstseen) as age, whitelist_status, account_join_date, DATEDIFF(NOW(), account_join_date), ckey_is_external FROM ss13_player WHERE ckey = :ckey",list("ckey"=ckey(key)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing qdel for this query?

@github-actions
Copy link

This pull request has been marked as stale due to the lack of activity within the last 60 days. If you are still working on this, please push your work or leave a comment. Pull requests marked as stale won't be auto-closed but are at the discretion of staff to be closed at any point without further notice.

@github-actions github-actions bot added the Stale Has not been updated by its author for a long time. label Jan 15, 2026
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Stale Has not been updated by its author for a long time. label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments